The write-behind patternWelcome back, this is part 5 of the "caching patterns with Redis" series. Click here to get to the fourth part. Assume our posts application has reached massive scales with a lot of traffic. Our database is struggling to keep up with the sheer amount...Aug 22, 2023 · 3 min readblog.kariukigeorge.me
The write-through patternWelcome back, this is part 4 of the "caching patterns with Redis" series. Click here to get to the third part. A write-through cache reverses the order of how the cache is populated. Instead of lazy-loading the data in the cache after a cache miss li...Aug 22, 2023 · 3 min readblog.kariukigeorge.me
The cache aside patternWelcome back, this is part 3 of the "caching patterns with Redis" series. Click here to get to the second part. This is the most common and the easiest caching pattern. To see how this pattern functions, consider the image below. When your applicat...Aug 22, 2023 · 3 min readblog.kariukigeorge.me
The master data-lookup patternWelcome back, this is part 2 of the "caching patterns with Redis" series. Click here to get to the first part. Assume you are building the next multitenant e-commerce application like Shopify, you'd like some data/customizations/configurations to be ...Aug 16, 2023 · 3 min readblog.kariukigeorge.me
Intro to caching design patternsYou are about to create a new application, and one of your goals is to create a "blazing fast" end product to meet your demands, contracts, or street cred. You can go with a high-performance language like Rust and achieve top-tier speeds when done ri...Aug 15, 2023 · 2 min readblog.kariukigeorge.me