Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Consistency model
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Strict consistency === Strict consistency is the strongest consistency model. Under this model, a write to a variable by any processor needs to be seen instantaneously by all processors. The strict model diagram and non-strict model diagrams describe the time constraint β instantaneous. It can be better understood as though a global clock is present in which every write should be reflected in all processor caches by the end of that clock period. The next operation must happen only in the next clock period. In the following diagram, P means "process" and the global clock's value is represented in the Sequence column. {| class="wikitable" |- ! rowspan=2 | Sequence ! colspan=2 | Strict model ! colspan=2 | Non-strict model |- ! {{abbr|P|Processor}}1 ! {{abbr|P|Processor}}2 ! {{abbr|P|Processor}}1 ! {{abbr|P|Processor}}2 |- ! 1 | ''W''(''x'')1 | | ''W''(''x'')1 | |- ! 2 | | ''R''(''x'')1 | | ''R''(''x'')0 |- ! 3 | | | | ''R''(''x'')1 |} This is the most rigid model. In this model, the programmer's expected result will be received every time. It is deterministic. Its practical relevance is restricted to a thought experiment and formalism, because instantaneous message exchange is impossible. It doesn't help in answering the question of conflict resolution in concurrent writes to the same data item, because it assumes concurrent writes to be impossible.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)