28 discussions in the community
we're currently running with a redis cache, but even with high hit rates, the 1-2ms network latency for every cache read still adds up, especially for...
been wrestling with session management for a while now. we're using JWTs for user sessions, which is great for statelessness and scaling horizontally....
we're exploring a multi-level caching strategy for some of our ml inference results: an l1 cache (in-process memory) for the hottest keys, backed by a...
We're currently using JWTs for user sessions, primarily for their stateless nature and ease of scaling. However, we've run into a common issue: revoki...
We're running Redis Sentinel today for high availability for our caching layer, handling about 50,000 operations per second. We're anticipating traffi...
we've been evolving our cache invalidation strategies over the years. initially, we started with simple time-based ttls, usually 5 minutes, but that l...
We're trying to improve the consistency and performance of an inventory system, and caching is a big part of that. We're currently debating write-thro...
we have a public product catalog api handling about 100k requests per minute, and the underlying data changes around 100 times a day. we're trying to ...
we have several expensive aggregation queries that power dashboards and leaderboards, taking 5-10 seconds to run directly against our database. we nee...
we're currently running redis sentinel for our main caching layer and it handles about 50k ops/sec pretty comfortably. however, we're expecting a sign...
we have a number of expensive aggregation queries for dashboards and leaderboards that can take 5-10 seconds to run directly against the database. we'...
i'm having a debate with a colleague about redis vs memcached in 2025. my colleague is a big proponent of memcached for 'pure caching' scenarios where...
We've been thinking about implementing a multi-level caching strategy for our core services to squeeze out every bit of performance. Our current setup...
we're designing a new inventory system where data accuracy is absolutely critical. we're trying to figure out the best caching strategy between write-...
Cache stampedes are something we've encountered more than once. The classic scenario: a highly accessed cache key expires, and a flood of concurrent r...
we experienced a pretty significant outage recently due to what i'd call a 'thundering herd' problem. a highly popular item's cache key expired, and s...
we've hit cache stampedes a few times now, where a popular cache key expires and a huge surge of requests all try to regenerate it from the backend si...
i'm in a bit of a debate with a colleague about caching solutions. i tend to gravitate towards redis because it just has so many features: lists, sets...
We're developing a new dashboard and leaderboard feature, and some of the aggregation queries are pretty expensive, taking 5-10 seconds to run. We def...
we've been on a bit of a journey with cache invalidation at work. started with simple time-based ttls, usually around 5 minutes, which led to users se...