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

Raft doesn’t magically make a database multi master. It’s a consensus algorithm that has a leader election process. There’s still a leader, and therefore a single master to which writes must be directed. The problem it solves is ambiguity about who the active master is at the moment.


Right. The idea of active-active OrioleDB multimaster is to apply changes locally and in parallel send it to the leader. Then sync on commit and ensure there is no conflicts.

The design document will be published later.


Please have it subjected to a Jepsen test suite ASAP!


My thinking is since it's postgres wire compatible the existing tests should work?


Jepsen does much more than basic end-to-end tests, including intentionally partitioning the cluster. Tests written for a non-distributed system are downright friendly compared to what Jepsen does to distributed systems.


Does Jepsen just run automated tests?


I mean they're automated but also hand crafted.

https://github.com/jepsen-io/jepsen


Those are very expensive and booked months in advance. Aphyr sometimes comments on HN and is of course a better source on this but that's what I recall reading.


It’s the price you pay to reassure customers that your newfangled distributed database won’t experience data loss or inconsistency.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: