News for hackers. Stuff that matters.
Re:Self-Contained Systems by Animats on Thursday May 07, 2020 @06:38PM (#23109186)
This is fine until you need atomic transactions that cross the boundary of two "self-contained" systems. Now you have a big problem. Distributed atomic transactions are really hard.

Some databases actually do that kind of thing, after years of painful development and major theory work. But the trend towards using databases as mere object stores, and having each component of a microservice architecture use its own database, means you can't let the database do the heavy lifting on interlocking.

End result: "What happened to my order?", and "Why did I get two of these?"

Re:Self-Contained Systems by tvjames on Thursday May 07, 2020 @06:47PM (#23109264)
> Distributed atomic transactions are really hard

They are also best avoided. Design for failure.