Distributed Systems, Large Scale, Consensus Algorithm, Code Example, Python.
on. For example, you can think of a service in charge of handling customers’ financial transactions. For various reasons, like data consistency, you would prefer that only one dedicated service instance will be allowed to make the database writes. But having only one instance, it’s problematic