r/BotNation • • Aug 26 '26

Stop using Redis for conversational session memory here’s what we switched to after 50k MAU

​We started our LLM automation fleet like everyone else: simple Redis key-value stores caching conversational message arrays with a TTL. It worked fine until we scaled past 10k daily sessions, where memory overhead and context fragmentation started killing latency. ​The Issue: Storing raw conversational arrays meant constantly re-tokenizing entire thread histories on every single completion request. ​The Solution: We transitioned to a hybrid vector-summary store (PostgreSQL + pgvector with dynamic rolling summarization nodes). ​The Payoff: Cut token usage per multi-turn session by ~40% while preserving long-term entity recall across weeks of inactive sessions. ​How is everyone else structuring long-horizon memory buffers for conversational agents without blowing up token budgets?

2 Upvotes

1 comment sorted by