KGKariuki Georgeinblog.kariukigeorge.me·Aug 22, 2023 · 3 min readThe 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...00
KGKariuki Georgeinblog.kariukigeorge.me·Aug 22, 2023 · 3 min readThe 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...00
KGKariuki Georgeinblog.kariukigeorge.me·Aug 22, 2023 · 3 min readThe 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...00
KGKariuki Georgeinblog.kariukigeorge.me·Aug 16, 2023 · 3 min readThe 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 ...00
KGKariuki Georgeinblog.kariukigeorge.me·Aug 15, 2023 · 2 min readIntro 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...00