Re:A Senior Engineer's Guide to the System Design Interview
by mgraczyk on Thursday March 02, 2023 @06:15PM
(#35003444)
In practice, "latency" is too vague to be what matters. In many systems it's the worst 1% or 0.1% of latencies that matter. Adding a cache will improve latency in those cases only in some situations.
Usually adding caches helps by reducing load on the service behind the cache.
Usually adding caches helps by reducing load on the service behind the cache.