原书出处
Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…
11 Distributed Caching
Cache avalanche presents a similar challenge when many cache entries expire simultaneously. This commonly occurs when the following happens: A large number of cache entries are set with the same TTL A cache server fails Cache clearing operations affect too many entries Following are the ways to prevent avalanche scenarios: Add random jitter to TTL values Use rolling cache updates Implement circuit breakers for database protection Thundering herd or stadium gate problem Consider a stadium with thousands of fans waiting for the gates to open.
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch11.xhtml
EPUB SHA-256:357a47122841cb03cd2ff1d58b4eb7ee46e4e6e2e56a004d65a18587568e05ff