3 ms·
> Bad idea to use that because if the worker crash the event is lost The only case where this would be problematic is if the worker crashed after doing some si
by dragonwriter 7y ago
> Bad idea to use that because if the worker crash the event is lost
The only case where this would be problematic is if the worker crashed after doing some side effect external to the queue server that rendered the job non-idempotent, but before committing an acknowledgement. But that's not really a “what you use as a queue server” issue as a “are you also using a distributed transaction system to coordinate all side effects including queue updates” issue. (If the same Postres DB is the operational DB and the queue server, you may be able to avoid distributed transactions by having all the side effects in the DB, though that creates its own issues.)