Hacker News new | ask | show | jobs
OpenCDBC: How come 2PC is scalable?
1 points by umitanuki 1556 days ago
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?

1 comments

Movement of currency across accounts is the classic 2PC use-case. What would you suggest that they use instead?
None of the blockchains use 2PC. The blocks may get discarded after a while. Sort of eventual consistency