Consistency model
In computer science, a consistency model specifies a contract between the programmer and a system, wherein the system guarantees that if the programmer follows the rules for operations on memory, memory will be consistent and the results of reading, writing, or updating memory will be predictable.[2] Consistency models are used in distributed systems like distributed shared memory systems or distributed data stores (such as filesystems, databases, optimistic replication systems or web caching).[5] Consistency is different from coherence, which occurs in systems that are cached or cache-less, and is consistency of data with respect to all processors.[5] Coherence deals with maintaining a global order in which writes to a single location or single variable are seen by all processors.[src] Consistency deals with the ordering of operations to multiple locations with respect to all processors.[2] High level languages, such as C++ and Java, maintain the consistency contract by translating memory operations into low-level operations in a way that preserves memory semantics, reordering some memory instructions, and encapsulating required synchronization with library calls such as pthread_mutex_lock() .[1]
In computer science, a consistency model specifies a contract between the programmer and a system, wherein the system guarantees that if the programmer follows the rules for operations on memory, memory will be consistent and the results of reading, writing, or updating memory will be predictable.[2] Consistency models are used in distributed systems like distributed shared memory systems or distributed data stores (such as filesystems, databases, optimistic replication systems or web caching).[5] Consistency is different from coherence, which occurs in systems that are cached or cache-less, and is consistency of data with respect to all processors.[5] Coherence deals with maintaining a global order in which writes to a single location or single variable are seen by all processors.[src] Consistency deals with the ordering of operations to multiple locations with respect to all processors.[2] High level languages, such as C++ and Java, maintain the consistency contract by translating memory operations into low-level operations in a way that preserves memory semantics, reordering some memory instructions, and encapsulating required synchronization with library calls such as pthread_mutex_lock() .[1] ===Release consistency=== The release consistency model relaxes the weak consistency model by distinguishing the entrance synchronization operation from the exit synchronization operation.[2] Under weak ordering, when a synchronization operation is to be seen, all operations in all processors need to be visible before the synchronization operation is done and the processor proceeds.[2] However, under the release consistency model, during the entry to a critical section, termed as "acquire", all operations with respect to the local memory variables need to be completed.[2] During the exit, termed as "release", all changes made by the local processor should be propagated to all other processors.[15] Coherence is still maintained.[src] The acquire operation is a load/read that is performed to access the critical section.[14] A release operation is a store/write performed to allow other processors to use the shared variables.[15] Among synchronization variables, sequential consistency or processor consistency can be maintained.[11] Using SC, all competing synchronization variables should be processed in order.[src] However, with PC, a pair of competing variables need to only follow this order.[src] Younger acquires can be allowed to happen before older releases.[src]
23 sentences · 23 cited inline · 15 references stored
References
- Mark D. Hill. Multiprocessors Should Support Simple Memory Consistency Models . August 1998. · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "Mark D. Hill. Multiprocessors Should Support Simple Memory Consistency Models . August 1998." Mark D. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "Mark D. Hill. Multiprocessors Should Support Simple Memory Consistency Models . August 1998." Mark D. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA Mark D. (2026). Mark D. Hill. Multiprocessors Should Support Simple Memory Consistency Models . August 1998. Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- is a weak consistency model in a system with the lack of simultaneous updates. It defines that if no update takes a very long time, all replicas eventually become consistent. Most shared decentralized . · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "is a weak consistency model in a system with the lack of simultaneous updates. It defines that if no update takes a very long time, all replicas eventually become consistent. Most shared decentralized ." is a weak consistency model in a system with the lack of simultaneous updates. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "is a weak consistency model in a system with the lack of simultaneous updates. It defines that if no update takes a very long time, all replicas eventually become consistent. Most shared decentralized ." is a weak consistency model in a system with the lack of simultaneous updates. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA is a weak consistency model in a system with the lack of simultaneous updates. (2026). is a weak consistency model in a system with the lack of simultaneous updates. It defines that if no update takes a very long time, all replicas eventually become consistent. Most shared decentralized . Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- Stefan Tai, Jacob Eberhardt, and Markus Klems. [http://www.ise.tu-berlin.de/fileadmin/fg308/publications/2017/2017-tai-eberhardt-klems-SALT.pdf "Not ACID, not BASE, but SALT: A Transaction Processing . · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "Stefan Tai, Jacob Eberhardt, and Markus Klems. [http://www.ise.tu-berlin.de/fileadmin/fg308/publications/2017/2017-tai-eberhardt-klems-SALT.pdf "Not ACID, not BASE, but SALT: A Transaction Processing ." Stefan Tai, Jacob Eberhardt, and Markus Klems. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "Stefan Tai, Jacob Eberhardt, and Markus Klems. [http://www.ise.tu-berlin.de/fileadmin/fg308/publications/2017/2017-tai-eberhardt-klems-SALT.pdf "Not ACID, not BASE, but SALT: A Transaction Processing ." Stefan Tai, Jacob Eberhardt, and Markus Klems. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA Stefan Tai, Jacob Eberhardt, and Markus Klems. (2026). Stefan Tai, Jacob Eberhardt, and Markus Klems. [http://www.ise.tu-berlin.de/fileadmin/fg308/publications/2017/2017-tai-eberhardt-klems-SALT.pdf "Not ACID, not BASE, but SALT: A Transaction Processing . Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- Chao Xie, Chunzhi Su, Manos Kapritsos, Yang Wang, Navid Yaghmazadeh, Lorenzo Alvisi, Prince Mahajan. [https://web.archive.org/web/20181019205538/https://pdfs.semanticscholar.org/d2ed/d36bc2ce58f261329 . (archived copy) · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "Chao Xie, Chunzhi Su, Manos Kapritsos, Yang Wang, Navid Yaghmazadeh, Lorenzo Alvisi, Prince Mahajan. [https://web.archive.org/web/20181019205538/https://pdfs.semanticscholar.org/d2ed/d36bc2ce58f261329 . (archived copy)." Chao Xie, Chunzhi Su, Manos Kapritsos, Yang Wang, Navid Yaghmazadeh, Lorenzo Alvisi, Prince Mahajan. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "Chao Xie, Chunzhi Su, Manos Kapritsos, Yang Wang, Navid Yaghmazadeh, Lorenzo Alvisi, Prince Mahajan. [https://web.archive.org/web/20181019205538/https://pdfs.semanticscholar.org/d2ed/d36bc2ce58f261329 . (archived copy)." Chao Xie, Chunzhi Su, Manos Kapritsos, Yang Wang, Navid Yaghmazadeh, Lorenzo Alvisi, Prince Mahajan. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA Chao Xie, Chunzhi Su, Manos Kapritsos, Yang Wang, Navid Yaghmazadeh, Lorenzo Alvisi, Prince Mahajan. (2026). Chao Xie, Chunzhi Su, Manos Kapritsos, Yang Wang, Navid Yaghmazadeh, Lorenzo Alvisi, Prince Mahajan. [https://web.archive.org/web/20181019205538/https://pdfs.semanticscholar.org/d2ed/d36bc2ce58f261329 . (archived copy). Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- is the combination of cache coherency and memory consistency models as a communication model for shared memory systems supported by software or hardware; a transactional memory model provides both mem . · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "is the combination of cache coherency and memory consistency models as a communication model for shared memory systems supported by software or hardware; a transactional memory model provides both mem ." is the combination of cache coherency and memory consistency models as a communication model for shared memory systems s. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "is the combination of cache coherency and memory consistency models as a communication model for shared memory systems supported by software or hardware; a transactional memory model provides both mem ." is the combination of cache coherency and memory consistency models as a communication model for shared memory systems s. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA is the combination of cache coherency and memory consistency models as a communication model for shared memory systems s. (2026). is the combination of cache coherency and memory consistency models as a communication model for shared memory systems supported by software or hardware; a transactional memory model provides both mem . Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- Ganesan, Aishwarya. Strong and Efficient Consistency with Consistency-Aware Durability . · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "Ganesan, Aishwarya. Strong and Efficient Consistency with Consistency-Aware Durability ." Ganesan, Aishwarya. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "Ganesan, Aishwarya. Strong and Efficient Consistency with Consistency-Aware Durability ." Ganesan, Aishwarya. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA Ganesan, Aishwarya. (2026). Ganesan, Aishwarya. Strong and Efficient Consistency with Consistency-Aware Durability . Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- Distributed Systems . Pearson Prentice Hall . 2007. · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "Distributed Systems . Pearson Prentice Hall . 2007." Distributed Systems. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "Distributed Systems . Pearson Prentice Hall . 2007." Distributed Systems. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA Distributed Systems. (2026). Distributed Systems . Pearson Prentice Hall . 2007. Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- * The row X is replicated on nodes M and N * The client A writes row X to node M * After a period of time t, client B reads row X from node N The consistency model determines whether client B will def . · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "* The row X is replicated on nodes M and N * The client A writes row X to node M * After a period of time t, client B reads row X from node N The consistency model determines whether client B will def ." * The row X is replicated on nodes M and N * The client A writes row X to node M * After a period of time t, client B re. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "* The row X is replicated on nodes M and N * The client A writes row X to node M * After a period of time t, client B reads row X from node N The consistency model determines whether client B will def ." * The row X is replicated on nodes M and N * The client A writes row X to node M * After a period of time t, client B re. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA * The row X is replicated on nodes M and N * The client A writes row X to node M * After a period of time t, client B re. (2026). * The row X is replicated on nodes M and N * The client A writes row X to node M * After a period of time t, client B reads row X from node N The consistency model determines whether client B will def . Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- Lamport, Leslie. How to make a multiprocessor computer that correctly executes multiprocess programs . Sep 1979. · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "Lamport, Leslie. How to make a multiprocessor computer that correctly executes multiprocess programs . Sep 1979." Lamport, Leslie. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "Lamport, Leslie. How to make a multiprocessor computer that correctly executes multiprocess programs . Sep 1979." Lamport, Leslie. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA Lamport, Leslie. (2026). Lamport, Leslie. How to make a multiprocessor computer that correctly executes multiprocess programs . Sep 1979. Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- Shared Memory Consistency Models: A Tutorial . · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "Shared Memory Consistency Models: A Tutorial ." 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "Shared Memory Consistency Models: A Tutorial ." 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA encyclopegia.org. (2026). Shared Memory Consistency Models: A Tutorial . Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- defined by Hutto and Ahamad, 1990, is a weakening of the sequential consistency model by categorizing events into those causally related and those that are not. It defines that only write operations t . · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "defined by Hutto and Ahamad, 1990, is a weakening of the sequential consistency model by categorizing events into those causally related and those that are not. It defines that only write operations t ." defined by Hutto and Ahamad, 1990, is a weakening of the sequential consistency model by categorizing events into those. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "defined by Hutto and Ahamad, 1990, is a weakening of the sequential consistency model by categorizing events into those causally related and those that are not. It defines that only write operations t ." defined by Hutto and Ahamad, 1990, is a weakening of the sequential consistency model by categorizing events into those. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA defined by Hutto and Ahamad, 1990, is a weakening of the sequential consistency model by categorizing events into those. (2026). defined by Hutto and Ahamad, 1990, is a weakening of the sequential consistency model by categorizing events into those causally related and those that are not. It defines that only write operations t . Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- Senftleben, Maximilian. Operational Characterization of Weak Memory Consistency Models . University of Kaiserslautern . 2013. · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "Senftleben, Maximilian. Operational Characterization of Weak Memory Consistency Models . University of Kaiserslautern . 2013." Senftleben, Maximilian. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "Senftleben, Maximilian. Operational Characterization of Weak Memory Consistency Models . University of Kaiserslautern . 2013." Senftleben, Maximilian. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA Senftleben, Maximilian. (2026). Senftleben, Maximilian. Operational Characterization of Weak Memory Consistency Models . University of Kaiserslautern . 2013. Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- Terry, Douglas B. cs.cornell.edu . · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "Terry, Douglas B. cs.cornell.edu ." Terry, Douglas B. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "Terry, Douglas B. cs.cornell.edu ." Terry, Douglas B. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA Terry, Douglas B. (2026). Terry, Douglas B. cs.cornell.edu . Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- === Monotonic write consistency === A write operation by a process on a data item X is completed before any successive write operation on X by the same process. === Read-your-writes consistency === A . · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "=== Monotonic write consistency === A write operation by a process on a data item X is completed before any successive write operation on X by the same process. === Read-your-writes consistency === A ." === Monotonic write consistency === A write operation by a process on a data item X is completed before any successive w. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "=== Monotonic write consistency === A write operation by a process on a data item X is completed before any successive write operation on X by the same process. === Read-your-writes consistency === A ." === Monotonic write consistency === A write operation by a process on a data item X is completed before any successive w. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA === Monotonic write consistency === A write operation by a process on a data item X is completed before any successive w. (2026). === Monotonic write consistency === A write operation by a process on a data item X is completed before any successive write operation on X by the same process. === Read-your-writes consistency === A . Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
- each process performs its own operations in the order defined by its program. There is no constraint on the ordering in which the write operations of other processes appear to be performed. Local cons . · retrieved 2026-08-29 · rev 1372162129
Cite this reference
MLA "each process performs its own operations in the order defined by its program. There is no constraint on the ordering in which the write operations of other processes appear to be performed. Local cons ." each process performs its own operations in the order defined by its program. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129. Accessed 27 November 2026.
Chicago "each process performs its own operations in the order defined by its program. There is no constraint on the ordering in which the write operations of other processes appear to be performed. Local cons ." each process performs its own operations in the order defined by its program. 2026-08-29. https://en.wikipedia.org/w/index.php?oldid=1372162129.
APA each process performs its own operations in the order defined by its program. (2026). each process performs its own operations in the order defined by its program. There is no constraint on the ordering in which the write operations of other processes appear to be performed. Local cons . Retrieved November 27, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372162129
Cite this article
MLA
"Consistency model." encyclopegia.org, 2026, https://encyclopegia.org/wiki/consistency-model. Accessed 27 November 2026.
Chicago
"Consistency model." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/consistency-model.
APA
encyclopegia.org. (2026). Consistency model. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/consistency-model
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON