I replayed the commands of Zammad’s Redis session store (lib/sessions/store/redis.rb) on three servers: session GET/SET of 2 KB JSON, plus SISMEMBER on the session index. Each server was pinned to 4 cores and tuned for them: Redis 8.12 and Valkey 8.1 with io-threads 4, and KiviDB 1.2.2 (a Redis-compatible server I work on) with threads 4.
| Redis 8.12 | Valkey 8.1 | KiviDB 1.2.2 | |
|---|---|---|---|
| sessions, ops/s, 500 connections | 320k | 320k | 372k |
| sessions, ops/s, 48 connections | 273k | 307k | 332k |
| message spool (RPUSH/EXPIRE/LPOP), 500 connections | 391k | 391k | 407k |
| memory, 50k sessions | 138 MB | 130 MB | 106 MB |
Caveat: the session index was empty during the run, so SISMEMBER always returned 0 on all three servers. This is a replay, not a Zammad install, and each test ran once. It works through REDIS_URL with no code changes.
Written with help from an AI assistant; I checked the numbers.