Discover more from ByteByteGo Newsletter
Top caching strategies
What are the top caching strategies?
Read data from the system:
🔹 Cache aside
🔹 Read through
Write data to the system:
🔹 Write around
🔹 Write back
🔹 Write through
The diagram below illustrates how those 5 strategies work. Some of the caching strategies can be used together.
I left out a lot of details as that will make the post very long. Feel free to leave a comment so we can learn from each other.
If you enjoyed this post, you might like our system design interview books as well.