Highload • August 2, 2024 • 5 min read
Redis Caching Patterns That Hold Up in Production
Cache-aside, write-through, read-through, and the stampede protection that separates a cache from a foot-gun. With concrete Java examples.
Tag
Cache-aside, write-through, read-through, and the stampede protection that separates a cache from a foot-gun. With concrete Java examples.
Token bucket, leaky bucket, sliding window — what each actually does, and the practical implementation in distributed systems.