Re:MongoDB vs. PostgreSQL vs. ScyllaDB: Tractian’s Experience
by winrid on Wednesday May 31, 2023 @03:28PM
(#36142932)
But Scylla doesn't offer the same consistency guarantees as Mongo, right? You can shard pretty wide with Mongo and still read your own writes, while my understanding is Scylla is eventually consistent?
Re:MongoDB vs. PostgreSQL vs. ScyllaDB: Tractian’s Experience
by kinghajj on Wednesday May 31, 2023 @04:01PM
(#36143447)
Scylla has "tunable" consistency[1][2][3], so it's possible to get consistency without too much of a performance hit, and still be resilient to some failures.
Re:MongoDB vs. PostgreSQL vs. ScyllaDB: Tractian’s Experience
by PeterCorless on Thursday June 08, 2023 @01:24PM
(#36245468)
On top of this, ScyllaDB also has "Lightweight Transactions" (LWT) that use Paxos to do a compare-and-set (CAS) read-before-write. This is important for strict linearizability. You can think of it really roughly as "single partition ACID."
They are also implementing a Raft infrastructure upon which they will be able to do strong consistency transactions in the future.
[1]: https://www.scylladb.com/glossary/eventual-consistency/
[2]: https://docs.scylladb.com/stable/cql/consistency.html
[3]: https://docs.scylladb.com/stable/cql/consistency-calculator....
They are also implementing a Raft infrastructure upon which they will be able to do strong consistency transactions in the future.
https://www.scylladb.com/tech-talk/the-future-of-consensus-i...
[Disclosure: I used to work at ScyllaDB]