advancedConnection Pooling & Performance81 of 469

Redis caching is working, but database load remains at 100 percent. What could be wrong?

Tests whether you'd check for a hot key causing cache stampede on expiry, a cache that's bypassed for a large share of queries (wrong TTL, cache-aside gaps), or background jobs/reports hitting the DB directly outside the cached code path.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

← Back to all Spring Boot & Microservices questions