aiohttp-session on Redis 8, Valkey 8.1 and KiviDB: Session Storage in 19% Less Memory

Murtaza Shajapurwala ยท 2026-11-24

aiohttp-session's RedisStorage does a GET to load a session and a SET with an expiry to save it. KiviDB served 371k ops/s at 48 connections against 322k on Redis 8.10, and kept 200,000 sessions in 111.2 MB instead of 137.5 MB.