Applied AI
A LangGraph checkpoint lookup can stall a shared Redis
Investigate Redis KEYS calls in LangGraph checkpoint retrieval when agent latency grows with the whole keyspace.
November 8, 2026
A LangGraph Redis checkpoint issue reports that RedisSaver.getTuple() uses KEYS to find the latest checkpoint when no checkpoint_id is supplied. The reporter observed that path in normal graph and state reads on a shared Redis Stack instance. As the whole keyspace grows, a lookup for one thread may delay unrelated clients.
Prove where the time goes
Collect Redis slow-log evidence, key count, saver version and the request path for one slow agent turn. Compare checkpoint reads with overall Redis latency rather than blaming the model. The issue provides its own deployment measurements; do not apply those numbers to another environment without measuring. Redis's latency guide identifies KEYS as a common production latency source.
Contain the shared-service impact
Reduce duplicate application reads if they are unnecessary, and consider separating checkpoint traffic from other Redis workloads while testing. Do not delete keys or rewrite checkpoint storage to chase a latency graph. Redis documents the command's cost; a proposed index or per-thread pointer is an implementation idea in the issue, not a migration plan for every saver.
Verify the package transition
Pin the saver version, reproduce a latest-checkpoint read against a representative keyspace, and observe the command the new version sends. Test restart and history reads as well as a normal turn. An open pull request does not establish that the deployed package is fixed.
Adovo’s view
Agent speed depends on its state store as much as its model. A per-thread question should not make every Redis client wait for the entire keyspace. Trace the shared resource before buying faster inference.
