What are the impacts of including cache in your architecture? | Architectural Simplification
2024-03-27
Description
In this episode of Architectural Simplification, Cockroach Labs Technical Evangelist Rob Reid answers the questions of what the impacts are of including cache in your architecture from the perspective of read performance. Rob's test involves a service that writes to a relational database and to a cache where he simulates writes and reads versus a services that writes to a relational database that can scale for both reads and writes. What are the impacts of including cache in your architecture? | Architectural Simplification 00:00 What is Rob testing? (A look at the compose file) 01:44 Rob's test in action 03:15 Discussing the results 04:27 A negative correlation between write throughput and cache payoff 04:49 When it makes sense to use caching 05:36 Why you don't always need a cache for read-heavy environments