Confirmed users
927
edits
Tarek.ziade (talk | contribs) |
Tarek.ziade (talk | contribs) |
||
Line 60: | Line 60: | ||
* if the queue crashes, the data stored should not be lost. Workers should be able to resume their subscriptions | * if the queue crashes, the data stored should not be lost. Workers should be able to resume their subscriptions | ||
* The job should be left in the queue | * The job should be left in the queue until the transaction is over | ||
** a marker | ** a worker that picks a job marks it as being processed | ||
** the job | ** if a worker crashes while doing the job, the marker should decay after a TTL so another worker can pick up the job | ||
** if a consumer cannot reach the result DB, the job stays in the queue and eventually goes away after a ttl. | |||
** if a consumer cannot reach the session DB the job stays in the queue and eventually goes away after a ttl. | |||
* if a consumer cannot reach the services status DB, nevermind. | * if a consumer cannot reach the services status DB, nevermind. | ||