Y
Hacker News
new
|
ask
|
show
|
jobs
by
lyu07282
434 days ago
Just no, your tasks should be idempotent. Distributed transactions are stupid.
1 comments
williamdclt
434 days ago
They’re not talking about distributed transactions: it’s not about a task being published and consumed atomically, it’s about it being consumed and executed atomically.
link
lyu07282
434 days ago
the workers aren't talking to postgres directly, thats why you would need distributed transactions.
link