4 ms·
> In my research, raft followers would still be thinking for themselves. There is a lot more going on than vanilla raft. Cockroach's range lease feature (which
by jasonwatkinspdx 9y ago
> In my research, raft followers would still be thinking for themselves.
There is a lot more going on than vanilla raft. Cockroach's range lease feature (which is NOT the same as the raft leader election) automatically moves the lease to the node that minimizes latency. You can control this behavior via meta data and matching rules. I'd suggest skimming: https://www.cockroachlabs.com/docs/stable/demo-follow-the-workload.html https://www.cockroachlabs.com/docs/stable/demo-follow-the-wo...
Again, you're making a lot of assumptions that seem rooted in "cockroach == a raft cluster". There's a lot more going on than that.