4 ms·
Since Cassandra is eventually consistent, how do clients get a consistent sequence of messages? Do you actually use Cassandra range queries to poll for new mes
by lobster_johnson 10y ago
Since Cassandra is eventually consistent, how do clients get a consistent sequence of messages?
Do you actually use Cassandra range queries to poll for new messages, or do clients use some kind of queue to get notified?
Say messages A, B, C are created in that sequence. But isn't it then possible that a client asking for new messages only gets A and C, and B only shows up a few milliseconds later, which would be missed unless the client actually asked for "everything since before A"? Or is that not possible?
- jhgg 10y agoWe have a real time distribution system written in Erlang/Elixir that keeps the clients in sync. We do not poll for messages. That wouldn't work at our scale :)