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. Docs
  3. Node Protocol

Node Protocol

Communication protocol for compute nodes

February 13, 2026
Edit

Node Protocol

Compute nodes communicate with the infrastructure using a combination of HTTP and WebSocket protocols.

Authentication Flow

Nodes authenticate using Ed25519 signatures:

1

Key Generation

Node generates Ed25519 keypair on first run. Private key stored locally.

2

Registration

Node sends public key to Sentinel via HTTP POST.

3

Token Acquisition

Sentinel returns signed JWT for Centrifugo connection.

4

Connection

Node connects to Centrifugo with JWT, subscribes to node channel.

HTTP Endpoints

EndpointMethodPurpose
/registerPOSTInitial node registration
/tokenPOSTRefresh Centrifugo JWT
/heartbeatPOSTHealth check with metrics
/chunk/completePOSTReport chunk completion

Message Types

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Inbound (to Node)

json
{
  "type": "chunk_assign",
  "job_id": "uuid",
  "chunk_id": 42,
  "config": { ... },
  "iterations": 1000
}

Outbound (from Node)

json
{
  "type": "chunk_progress",
  "job_id": "uuid",
  "chunk_id": 42,
  "completed": 500,
  "total": 1000
}

Error Handling

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.

Retry Policy

Nodes retry failed HTTP requests with exponential backoff. Maximum 5 retries with 30 second cap.

Connection Lifecycle

stateDiagram-v2 [*] --> Disconnected Disconnected --> Registering: Start Registering --> Connected: Success Registering --> Disconnected: Failure Connected --> Processing: Chunk assigned Processing --> Connected: Chunk complete Connected --> Disconnected: Connection lost Disconnected --> Registering: Reconnect

Next steps

MDX Components
Realtime Infrastructure
MDX Components

Navigation

Introduction

Overview

Engine

Networking

Realtime InfrastructureNode Protocol

Meta

On this page

Node ProtocolAuthentication FlowHTTP EndpointsMessage TypesInbound (to Node)Outbound (from Node)Error HandlingConnection Lifecycle