Dify's API-Token Path on Redis 8, Valkey 9 and KiviDB: 24% More Requests, 20% Less Memory

Murtaza Shajapurwala ยท 2026-11-24

Each request to Dify's service API reads the cached token from Redis and records the token's use with a second key. We replayed that pair on three servers tuned for four cores. KiviDB handled 24% more than Redis 8.12 and 7% more than Valkey 9.0 at 48 connections, and held the same keys in 20% less memory.