To start, let me define what is consistency. Consistency is a property of the distributed system, which says that upon reading the objects that stored on many replicas, the results of reading operations from different clients should have some guarantee based on the consistency model. Consistency models are a contract…