News for hackers. Stuff that matters.
Re:How FoundationDB works and why it works by thwarted on Monday September 18, 2023 @04:26AM (#37553654)
It's a cluster size of n replicas, with one of the n being the (current) leader.

f failures with f+1 replicas is a cluster size of n replicas can sustain n-1 failures. n=f+1 or f=n-1. You wanna be able to sustain f failures, you need a cluster size (n) of f+1.

When there is a failure, a non-failing node becomes the leader (or there's no leader change if the current leader isn't the one that failed). A cluster size of 1 has 1 leader, and can sustain 0 failures.

Re:How FoundationDB works and why it works by robertlagrant on Monday September 18, 2023 @04:44AM (#37553745)
Yep makes sense - "f failures with f+1 replicas" does indeed refer to the latter definition. Thanks!