System Design Fundamentals
Vote

0% completed

Cache Coherence and Consistency Models

Cache coherence and consistency models are essential concepts in the context of caching, particularly in distributed systems or multi-core processors. These models ensure that data remains accurate and up-to-date across multiple caches or processing units.

Cache Coherence

Cache coherence is a property of multi-core processors or distributed systems that ensures all processors or nodes see the same view of shared data. In a system with multiple caches, each cache may store a local copy of the shared data

.....

.....

.....

Like the course? Get enrolled and start learning!
Trijit Das

Trijit Das

· 5 months ago

how transaction management is ensured same as database locking for cache coherence ? what if cache content is updated and from another replica stale data is fetched , how the race condition is handled?

Dolly Neekhra

Dolly Neekhra

· 2 years ago

When another cache requires the updated data, it fetches the new data from the memory or the cache that made the change. - does this mean the cache calling will now update its data and subsequent calls it wont again go to the cache that made the changes?