Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Therefore, Consistency guarantees are based on implementing application-specific partitioning (correctly)?
 help



Yeah. Vitess does have some options for atomic cross-shard commits using an additional database to track two-phase commits, but that's expensive so you probably want to avoid that. https://vitess.io/docs/25.0/reference/features/distributed-t...

The consistency guarentee assuming repeatable read or higher on each shard is parallel snapshot isolation, which is technically still higher than postgres read committed.

If you have serializable on each shard and you chop transactions so you have no cross shard transactions, the application is technically still serializable, it just behaves like two independent deployments of the application for different shards




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: