Comment by lyu07282 Comment by lyu07282 8 days ago 2 replies Copy Link View on Hacker News Just no, your tasks should be idempotent. Distributed transactions are stupid.
Copy Link williamdclt 8 days ago Collapse Comment - 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. Reply View | 1 reply Copy Link lyu07282 8 days ago Parent Collapse Comment - the workers aren't talking to postgres directly, thats why you would need distributed transactions. Reply View | 0 replies
Copy Link lyu07282 8 days ago Parent Collapse Comment - the workers aren't talking to postgres directly, thats why you would need distributed transactions. Reply View | 0 replies
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.