2.2 Scheduler (Consensus dispatcher)
Service name:
px-scheduler
Tech stack: FastAPI, Async HTTPX
Port:
7080
Docker image:
ghcr.io/privacyx-org/px-scheduler
Responsibilities
Receives jobs from the Gateway.
Dispatches them across a pool of miners using round-robin scheduling.
Performs retry & health checks.
Gathers responses and forwards them to the Validator for consensus evaluation.
Consensus workflow
For each incoming request (image/video), the scheduler selects 3 miners.
Collects probabilistic outputs from each miner.
Sends the results to
/assess
on the Validator for outlier filtering and consensus averaging.
Health management
Each miner is periodically checked via /health
.
Unhealthy miners are temporarily excluded from dispatch rotation.
Last updated