AlgoViz

Caching Strategies and Eviction

medium 25 min

Place fast memory between applications and persistent storage to slash read latency and protect databases.

Check yourself

One question at a time. Each answer explains why.

Question 1 of 10

Score 0
conceptual

In a cache-aside pattern, what is the safest operation to perform on the cache when a database record is modified?

Pick an answer to see why.

Flashcards

Say your answer, then reveal it.

Card 1 of 10

Recall

What is the difference between Cache-Aside and Write-Through caching?

Say your answer, then reveal it.

These cards come back in Today, just before you would forget them.