4 ms·
We actually don't have a consensus problem. Each "node" is its own source of truth and every other node can take what it says on faith. We _also_ need all the d
by mrkurt 5y ago
We actually don't have a consensus problem. Each "node" is its own source of truth and every other node can take what it says on faith. We _also_ need all the data in all the places.
- dilyevsky 5y agoThe “consensus” in raft is simply a way to guarantee durability of writes (among other things) in distributed setup. In your case the producer node gets a guarantee that it did in fact commit its route to the db. Ofc you can achieve similar outcome with something like gossip + repeated announcements. It would probably depend on specifics which approach is more efficient