Komrade is a message queue for your workers. Komrade will help you manage background jobs for web applications.
HTTP based queueing service.
- PUT Job
- POST Job's Heartbeat
- PUT Job Failure
- GET Jobs
- DELETE Job
- POST Delete All Jobs
> PUT https://service-1.komrade.io/jobs/:uuid
> Authorization: b64
> {"payload": {}}
< {"id": id, "payload": {}}
> POST https://service-1.komrade.io/jobs/:uuid/heartbeats
> Authorization: b64
< {"message": "OK"}
> PUT https://service-1.komrade.io/jobs/:uuid/failures/:failure-id
> Authorization: b64
> {"error": "DBError", "message": "Table does not exist."}
< {"id": failure-id}
> GET https://service-1.komrade.io/jobs?limit=1
> Authorization: b64
< [{"id": id, "payload": {}}]
> DELETE https://service-1.komrade.io/jobs/:uuid
> Authorization: b64
< [{"id": id}]
> POST https://service-1.komrade.io/delete-all-jobs
> Authorization: b64
< {"deleted": 42}
> POST https://service-1.komrade.io/workers/:uuid/heartbeats
> Authorization: b64
< {"msg": "OK"}