Django Cache Sessions on Redis 8, Valkey 8.1 and KiviDB: 19% More at 48 Connections, 19% Less Memory

Murtaza Shajapurwala ยท 2026-11-24

Django's cache session backend does a GET on load and an expiring write on save. KiviDB served 392k ops/s at 48 connections against 329k for Redis 8.10, and 200,000 sessions of 512 B took 111.2 MB instead of 137.5 MB.