Skip to content

0003. Background workers on BullMQ with a native Stockfish 19 pool

Source: docs/decisions/0003-worker-bullmq-native-stockfish.md. Generated at build time; edit the source file.

Date: 2026-11-21 Status: Accepted

Analysing hundreds or thousands of games per user is CPU-heavy and long-running.

Node workers on BullMQ and Redis. Stockfish 19 native binaries, one per core, driven by our own thin UCI wrapper with FEN validation and supervisor restarts.

Analysis in the browser only; the existing Node UCI wrappers (stale); a managed cloud-eval API.

Needs hosting with dedicated CPU. The position cache keeps cost down.

See docs/superpowers/specs/2026-11-21-chess-improver-design.md.