System Design: Building a Distributed Cache
At small scale, cache looks like a simple optimization. Put Redis in front of the database, cache a few expensive reads, and enjoy lower latency. At production scale, a distributed cache stops being a helper library and …