cachelib on Redis 8, Valkey 8.1 and KiviDB: 4 KB Cache Entries in 19% Less Memory
Murtaza Shajapurwala ยท 2026-11-24
cachelib's RedisCache, the backend under Flask-Caching, uses GET and SET with an expiry. With 4 KB values KiviDB served 291k ops/s at 500 connections against 273k on Redis 8.10, and 100,000 entries took 419.9 MB instead of 516.1 MB.