Redis Cache Strategy Benchmark: Cache-Aside vs. Framework-Managed Read-Through in Spring Boot under Concurrent Load
收藏资源简介:
A controlled benchmark dataset comparing two server-side caching strategies in a Spring Boot application backed by Redis and MySQL: explicit Cache-Aside, where the application performs GET/SET operations directly, and framework-managed Read-Through, where Spring Cache handles caching through @Cacheable. Both strategies run in the same application process with an identical repository layer, SQL, Redis key format, TTL, JSON serialization, and request sequence, so that measured differences reflect the caching access pattern rather than incidental implementation drift. Design: 2 strategies x 3 concurrency levels (25, 50, 100) x 5 repetitions = 30 independent runs. Each run consists of a 15 s warm-up followed by a 60 s measurement window. Measurements were taken in a verified Hot Cache steady state, with zero database loads and zero cache misses during every measurement window. Contents: the complete request-level data (30 files, 11,325,558 request records), the analysis-ready run-level table (30 rows), per-run application probe snapshots, the complete statistical analysis (model coefficients with heteroskedasticity-robust standard errors, effect sizes with bootstrap confidence intervals, assumption tests, leave-one-out robustness checks), the JMeter test plan, and full documentation. All 30 runs passed seven automated validity gates; zero runs were invalidated and zero request errors were recorded. Repository with analysis-ready tables and documentation: https://github.com/rys888/redis-cache-strategy-benchmark



