Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Consistency model, causal consistency, eventual consistency » ?

Aussi appelé : consistency model · causal consistency · eventual consistency

Definition 26.2 University Computer Science — Year 3 · Chapitre 26 — Replication and Consensus

A consistency model is a set of allowed histories: the reads and writes of a set of clients on shared registers, with the value each read returned. Under causal consistency, each client sees all the writes in an order that respects their causal order, the happened-before relation in which a write precedes every read that returns its value, and each read returns the latest write in the order its client sees. Under eventual consistency, if the writes stop, all the replicas eventually hold the same values, so every client’s reads eventually return the same value for each register.

The four models and the histories of , each in the smallest model that contains it. The outer box counts only histories that converge: a causal history in which two clients never agree lies outside it.
The four models and the histories of Output 26.1, each in the smallest model that contains it. The outer box counts only histories that converge: a causal history in which two clients never agree lies outside it.
Lire dans le chapitre →