WoW Lab

WoW Lab

Toolkit

Simulate

Quick SimBest in BagsDrop Optimizer

Rotations

BrowseNew Rotation

Plan

Traits
P

Developer

DocsBibleEngineHooksMCP ServerMetricsUI Showcase

Misc

AboutBlog

© 2025 WoW Lab

  1. Home
  2. Bible
  3. Realtime

Realtime

Centrifuge WebSocket protocol, subscriptions, and presence

February 13, 2026
Edit

Centrifugo as realtime messaging server, wowlab-centrifuge Rust client (tokio-tungstenite WebSocket, prost protobuf protocol), channel subscriptions (node_{public_key} for chunk assignments), auto-reconnect with exponential backoff, JWT-based token authentication with refresh callbacks, presence API for online node tracking, TLS support via rustls, client-side event handling (Message, Connected, Disconnected), server-side channel management, why Centrifugo over raw WebSocket or SSE (scalability, presence, pub/sub semantics), notification system for simulation progress updates.

Next steps

Node Authentication
Distributed Computing
Node Authentication

Navigation

IntroductionGlossaryReferences

Overview

Mechanics

Game Data

Simulation

Infrastructure

ArchitectureDistributed ComputingRealtimeNode AuthenticationWebAssemblyDatabaseDeployment

Portal