Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by lyu07282

10 months ago

Just no, your tasks should be idempotent. Distributed transactions are stupid.

2 comments

lyu07282

Reply

williamdclt  10 months 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.

  • lyu07282  10 months ago

    the workers aren't talking to postgres directly, thats why you would need distributed transactions.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities