News for hackers. Stuff that matters.
Re:“It's The Future” by nbevans on Wednesday August 17, 2016 @09:05AM (#12304336)
Idempotency, event sourcing and sagas with compensations are ways to solve your problem.

A shared database is an anti-pattern in distributed systems.

Similarly, distributed transactions (ala. DTC) is an anti-pattern.

Distributed systems aren't hard. They're just different.

Re:“It's The Future” by prodigal_erik on Wednesday August 17, 2016 @02:19PM (#12306968)
Say you sell a widget. You want to update both your cash account and your inventory, and never one without the other. Which is easier to understand and more reliable: doing them atomically, or making sure you have designed in 2^n intermediate states and all the code required to complete work that should happen but hasn't yet?