SWE Quiz
Learn
Questions
Open main menu
Caching Roadmap
Note: Not all questions may match a certain category on the roadmap.
Caching Fundamentals
Concepts
What is caching? Why is it used? ->
Trade-offs of caching (latency vs. consistency) ->
Different types of caches (content, page, data, query, etc.) ->
Server-side vs client-side caching ->
Caching Policies, Expirations, and Algorithms
Concepts
Least Recently Used (LRU), Least Frequently Used (LFU), Least Recently Updated (LRU), Time-To-Live (TTL), Random Replacement (RR) eviction policies ->
In-process, inter-process, remote inference caching ->
Cache expiration strategies (time-based, data-driven) ->
Caching Coherence And Synchronization
Concepts
Cache coherence ->
Cache synchronization and write policies (write-through, write-around, write-back) ->
Distributed Caching
Concepts
Introduction to Distributed Caching
Cache consistency in distributed systems
Distributed lock mechanisms
Cache partitioning and replication
Fault tolerance and availability
Caching in the Real World
Concepts
Memcached, Redis
Real-world examples from Big Tech
Examples of caching in cloud environments (AWS ElastiCache, Azure Cache for Redis)