- worker polls
GET /next
- client submit work to
POST /
. The work is forwarded to a worker (from 1) with request id header - worker sends response to
POST /response
with the same request id, reply is forwarded to the client (2)
To send work:
curl -X POST http://localhost:9999/ -d "@request-body.txt"
This is reproduction code for: