in Technology by
How to Reading/Writing to Cache?

1 Answer

0 votes
by

In distributed caching, Cache Coherence refers to the problem of keeping the data in caches consistent. There are two general strategies for dealing with writes to a cache:

Write-through – all data written to the cache is also propagated to the main memory at the same time.

Write-back – when data is written to a cache, a dirty bit is set for the affected block. The modified block is written to memory only when the block is replaced.

Write-through caches are simpler, and they automatically deal with the cache coherence problem. But, they increase bus traffic significantly. Write-back caches are more common where higher performance is desired.

Related questions

0 votes
    What kind of etiquettes are proof reading? (A) reading (B) E mail (C) writing (D) editing Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    What kind of etiquettes are proof reading? (A) reading (B) E mail (C) writing (D) editing Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    In computer security _______ means that the information in a computer system only be accessible for reading by ... . integrity B. confidentiality C. authenticity D. availability...
asked Mar 12, 2023 in Technology by JackTerrance
0 votes
    By reading through the customer reviews of a product on Amazon, a customer _______. Is aware of the brand Experiences the product Forms a perception of the product...
asked Sep 5, 2021 in Technology by JackTerrance
0 votes
    What is the accuracy of the dumpy level or minimum reading we can take?...
asked Jan 20, 2021 in Technology by JackTerrance
0 votes
    Who is responsible for writing User Story?...
asked Aug 19, 2021 in Technology by JackTerrance
0 votes
    What are some development practices to follow when writing automated tests?...
asked Jul 11, 2021 in Technology by JackTerrance
0 votes
    SQL structure such as table names, column names, and so on cannot be escaped, and thus user-supplied structure names are ... issue in a report-writing software. 1. True 2. False...
asked Mar 20, 2021 in Technology by JackTerrance
0 votes
    Explain what should be the method of writing a BDC program?...
asked Jan 5, 2021 in Technology by JackTerrance
0 votes
    What types of joins are used in writing SUBQUERIES?...
asked Dec 18, 2020 in Technology by JackTerrance
0 votes
    What is the use of writing sharing rules? Can you use sharing rules to restrict data access?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    Suppose that while writing the R code that consists of multiple functions. While executing the code, there is an error ... you use to find the function that is facing problem?...
asked Oct 16, 2020 in Technology by JackTerrance
0 votes
    I have Django application deployed on Kubernetes Engine following this tutorial - https://cloud.google.com/python ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I've created a python3 script that runs fine on command line but when I try to run as a daemon ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 21, 2022 in Education by JackTerrance
0 votes
    How can I remove emojis that start with '\x' when reading a csv file using pandas in Python? The ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 14, 2022 in Education by JackTerrance
...