Let's agree on it
Everything distributed today, you prefer add more compute when something required more performance, and scale horizontally.
But most of the time, a big problem arises: data consistency.
Well, solved! we have consensus algorithms. One of them is RAFT.
Here's the best animated explanation of the algorithm in multiple scenarios. Definitely worth it to watch!