Command Palette

Search for a command to run...

Sign in

System Architecture

High-level overview of the WoW Lab platform architecture

1 min read

System Architecture

WoW Lab splits simulation between the browser (free tier) and a hosted Fly pool (paid tiers). The portal orchestrates both paths through the same job records.

Component Overview

Layer Responsibilities

LayerComponentResponsibility
PresentationPortalUI, browser simulation, result visualization
CoordinationSentinelJob scheduling, pool worker health, Discord bot
CoordinationBeaconWebSocket connections, realtime messaging
SimulationBrowserWASM engine for free-tier sims
SimulationPoolNative engine workers on Fly for paid-tier sims
StorageSupabaseUser data, rotations, jobs, results

Simulation Request

Free tier:

  1. User submits sim in the portal
  2. The browser WASM engine runs it locally
  3. Results stream back into the UI as the browser completes chunks

Paid tier:

  1. User submits sim in the portal
  2. Portal creates a job record in Supabase
  3. Sentinel assigns chunks to pool workers via Beacon
  4. Workers run chunks and post results
  5. Sentinel aggregates results into the job record
  6. Portal subscribes to the job and updates live

Domain Services

DomainServicePurpose
api.wowlab.ggSupabasePortal database, auth, user data
sentinel.wowlab.ggSentinelPool coordination HTTP API
beacon.wowlab.ggCentrifugoWebSocket connections, realtime messaging