Grokking the System Design Interview
Ask Author
Back to course home

0% completed

Vote For New Content
Write-around cache:

Idhant Haldankar

Aug 12, 2025

I wanted to confirm my understanding.

So in this type of cache update - Write-around cache - dont we also delete/purge the the record in cache layer? I wonder how will the client expect "cache miss" by simply updating the DB records.

1

0

Comments
Comments
Benjamin Eckardt
Benjamin Eckardta month ago

I think it's intentionally not described as it could be different things here:

  1. You can Invalidate (purge) the cached entry as you mentioned
  2. You can do a lazy purge via eviction if slight staleness is tolerable

Since the second case is quite rare think you ar...