10 Comments
User's avatar
Duck Dickson's avatar

This is a great idea for an article but unfortunately the descriptions are not easy to read. For example, the workflow for Read-through is WORD FOR WORD identical to Cache Aside. The words are insufficient to explain what's going on, so is the diagram. Readers have to read both the words and the diagram to stitch together hat's going on. I would encourage rewriting these to explain in more detail.

Expand full comment
Neo Kim's avatar

I will keep this in mind and improve future articles. I appreciate your feedback. Thanks

Expand full comment
Duck Dickson's avatar

Thanks for taking accepting the feedback in the constructive way it was intended! And thank you for all that you do!

Expand full comment
Anton Zaides's avatar

Interesting! I've worked only with the Cache aside implementation, as it's the easier to maintain.

Expand full comment
Priyansh Agrawal's avatar

Can we use CDC to have our cache up-to-date with the data which is read more and less written such as user profile ? This makes our request always touch the cache and never DB provided the entire event streaming and processing is highly available, fault tolerant eventually consistent ? Can Debezium + Kafka setup provides us this gaurantee ?

Expand full comment
Pratik's avatar

What is the difference between cache-aside and write-around caching pattern. IMO, both looks same to me.

Expand full comment
CodingTrends's avatar

Isn't Cache aside and write around same?

Expand full comment
Priyansh Agrawal's avatar

read path is same . However write path is slightly different. In case of read aside we also update our cache post db write operation

Expand full comment
Des Ignatius's avatar

Can you explain the difference between Cache-Aside (Lazy Loading) and Write-Around Cache patterns

Expand full comment
Priyansh Agrawal's avatar

the main difference is, in case of Cache-Aside cache data is also updated by the application post database write whereas in write-around cache pattern based on what author has mentioned, it don't store the data in cache and will store in it in the case of cache miss thus follows the same read path as that of cache-aside.

Expand full comment