3 ms·
> My intuition about strapping a consensus library to a database is that you're going to have way higher latency because every operation, writes and reads, must
by aaronblohowiak 4y ago
> My intuition about strapping a consensus library to a database is that you're going to have way higher latency because every operation, writes and reads, must go through consensus
nah, you have leases (a time-limited and often renewable lock). so like your leader gets elected through consensus and then for the next N miliseconds, you have a garauntee that nobody else can be leader. this means your reads dont need to go through consensus. (hand-waving a lot of the details here.)