gin-contrib/cache on Redis 8, Valkey 8.1 and KiviDB: 16 KB Pages, 21% Less Memory, Higher p99 at 500 Connections
Murtaza Shajapurwala ยท 2026-11-24
gin-contrib/cache stores whole HTTP responses in Redis with SETEX. With 16 KB pages KiviDB served 233k ops/s at 500 connections against 212k on Redis 8.10, and 30,000 pages used 493.2 MB instead of 623.6 MB, though its p99 was the highest of the three.