1 Answer

0 votes
by
Application is responsible for reading and writing from the DB and the cache doesn’t interact with the DB at all. The cache is kept aside as a faster and more scalable in-memory data store. The application checks the cache before reading anything from the database and updates the cache after making any updates to the database. Thus the application ensures that the cache is kept synchronized with the database. Application treats cache as the main data store and reads data from it and writes data to it. The cache is responsible for reading and writing this data to the database, thereby relieving the application of this responsibility. Read-through/Write-through is ideal for reference data that is meant to be kept in the cache for frequent reads even though this data changes periodically.

Related questions

0 votes
    The following are all caching types, except ___________. A. Server cache B. Shared Cache C. No Cache D. Distributed Cache E. Local & Remote Cache...
asked Jan 11, 2023 in Technology by JackTerrance
0 votes
    Which of the following are a worldwide content caching and delivery system for Windows Azure blob content? 1. CDN 2. CND 3. DNC 4. None of the options...
asked Sep 22, 2021 in Technology by JackTerrance
0 votes
    Which of the following are a worldwide content caching and delivery system for Windows Azure blob content? CDN CND DNC None of the options...
asked Aug 28, 2021 in Technology by JackTerrance
0 votes
    What are the best practices for caching in RESTful?...
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    Does Laravel support caching?...
asked Sep 30, 2021 in Technology by JackTerrance
0 votes
    What is the caching strategies in the Django?...
asked Jul 1, 2021 in Technology by JackTerrance
0 votes
    What is Output Caching in MVC?...
asked Jun 14, 2021 in Technology by JackTerrance
0 votes
    Which directive of Cache Control Header of HTTP response can set the time limit of caching?...
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    Which header of HTTP response sets expiration date and time of caching?...
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    Which header of HTTP response provides control over caching?...
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
0 votes
    Which of this does not represent caching types_______________ (a)Server cache (b)Shared Cache (c)Distributed Cache (d)Local & Remote Cache (e) No Cache...
asked Oct 21, 2020 in Technology by Editorial Staff
0 votes
    Caching helps in improving the performance of the system ? (a)False (b)True...
asked Oct 21, 2020 in Technology by Editorial Staff
0 votes
    Which Caching Topology is recommended for a read intensive distributed application? (a)Local Cache (b)Near Cache (c)Partitioned (d)Replicated...
asked Oct 7, 2020 in Technology by JackTerrance
0 votes
    Caching Technique where cache is populated the first time a certain piece of data is requested is called _________. (a)Local ... (b)Lazy Loading (c)Cache aside (d)Upfront Loading...
asked Oct 6, 2020 in Technology by JackTerrance
...