News for hackers. Stuff that matters.

OpenCDBC: How come 2PC is scalable?

https://github.com/mit-dci/opencbdc-tx

While I love it discusses about linearizability/serializability tradeoffs with different architecture, I'm a bit puzzled how come they chose 2PC for scalability. In my opinion, 2PC has been a bad idea for scalable distributed systems, and generally speaking the design decision that has turned to be good (whether or not this was intentional) by bitcoin was that optimistic locking with cryptographical validation was way better. Am I missing something?

( 2 comments | on HN )
Re:OpenCDBC: How come 2PC is scalable? by colburnmh on Monday March 14, 2022 @10:32AM (#30672888)
Movement of currency across accounts is the classic 2PC use-case. What would you suggest that they use instead?
Re:OpenCDBC: How come 2PC is scalable? by umitanuki on Tuesday March 15, 2022 @06:57AM (#30683849)
None of the blockchains use 2PC. The blocks may get discarded after a while. Sort of eventual consistency