Distributed Systems, Large Scale, Consensus Algorithm, Code Example, Python.
since such architecture is not highly available. The typical approach in such situations is “leader-follower” architecture. There is only one leader instance that is allowed to write to the database and a few followers instances, which are not allowed processing the writes. In case if a follower