Skip to main content

// Section 14.6 · Operate

The Hot Path

1 min14.6Operate

Inside start, per dispatched request:

CODELINES 5
1. poll       GET coordinator /operator/inbox?nodeId=<id>  -> one request
2. run        ollama /api/generate (model, prompt)  whole, on local GPU/CPU
3. commit     poe = sha256(request_id || result || node_id)
4. sign       signature = personal-sign(node.key, "parallelix-node:result:<id>")
5. return     POST coordinator /operator/result { result, poe, signature }

run is the only slow step. In parallel, a heartbeat fires every 10s: it personal-signs parallelix-node:heartbeat:<id>:<ts> and POSTs it to /operator/heartbeat, which is what keeps the node online and accruing. On a serve failure the daemon returns a signed failure report so the coordinator can requeue the request to another node immediately.