Skip to content

Strongly consistent insert #449

Closed Answered by tatsuya6502
fsdvh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. I am not sure which part of the consistency of insert operation you are referring to. But here is a brief explanation of the consistencies of the internal components of the cache:

  • A Cache consists of two major components: (1) the concurrent hash table, and (2) the cache policy data structures.
  • The concurrent hash table (1) stores key-value pairs you have inserted into the cache.
    • It always provides strong consistency. More specifically, it guarantees read-after-write consistency.
    • This means that if you insert a key-value pair into the cache, you can read the value immediately after the insertion and you should never get a stale value.
  • The cache policy data structures (2) includes t…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tatsuya6502
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants