News for hackers. Stuff that matters.
Re:Staying Out of TTL Hell by oftenwrong on Wednesday March 10, 2021 @09:18AM (#26411438)
A bunch of databases support XA transactions [1], or otherwise have generic support for 2PC that can be hooked up to an external transaction manager [2].

In theory, we could build support into most systems. It does seem like this idea has lost momentum, though. I am not sure why.

[1] https://en.wikipedia.org/wiki/X/Open_XA

[2] for example, https://www.postgresql.org/docs/13/sql-prepare-transaction.h...

Re:Staying Out of TTL Hell by cratermoon on Wednesday March 10, 2021 @11:02PM (#26420059)
Two-phase commit is out of style because everything is distributed and the Fallacies of Distributed Systems presents several reasons why the 2PC protocols spend most of their effort on error handling and recovery.

Simply put, at scale, something is always failing, so a 2PC setup is always doing recovery.