3 ms·
Raft and similar consensus algorithms have the advantage that multiple nodes can process data, while primary-standby only reads are distributed. Databases are a
by stop50 3y ago
Raft and similar consensus algorithms have the advantage that multiple nodes can process data, while primary-standby only reads are distributed. Databases are a good example: each node needs to process a lot of data, but written they are rather small, so it makes sense to distribute the requests and let an node only deal with 1/3 of the requests instead of an node with 100% of the requests that gets overloaded with them.