3 ms·
Re: your comparison, LWTs in Cassandra in 4.1 (about to release) offer global 1RT reads, and 2RT for writes. Your comparison suggests you take 3RTs? I suspect y
by _benedict 4y ago
Re: your comparison, LWTs in Cassandra in 4.1 (about to release) offer global 1RT reads, and 2RT for writes. Your comparison suggests you take 3RTs? I suspect you may be moving to offering 1RT for those in the local region, and 2RT for all operations in another region?
You make a point of mentioning your MVs (and presumably your global secondary indexes) may get out of sync with the base table, which is the reason the Cassandra community decided to mark them experimental. The Cassandra community has become very conservative since it began being driven by users of the software. I should not draw any conclusions around the relative merits of features from this conservatism.
The Cassandra community paused feature development for several years, due to this very conservatism, in order to focus on delivering safety and reliability at scale. Now that's done, you can expect a lot more visible activity.
- PeterCorless 4y agoThere will definitely be a lot of jostling as Cassandra gets ahead here, and ScyllaDB there. Yes, we've talked about our plans to get to 1RT LWTs. And you are totally correct to point out that there are needs for conservatism in people running at scale. Hence why we recently released making our Enterprise offering available as either a short term feature release or a long-term support release. The MV issues have been hardened in ScyllaDB so the likelihood of them getting out of sync are minimized. And we're implementing Raft into the architecture to make them even more consistent with the base table. [Not available yet, but part of our roadmap.]
- _benedict 4y agoI believe that when you get to 1RT, your LWTs will still effectively be 2RT if you include the coordinator's latency to the leader (except in the leader's region).