Concepts

Concepts#

Core ideas and design decisions behind langgraph-checkpoint-redis.

Architecture

Dual sync/async implementation, Redis module dependencies, schema-driven indexing, and package structure.

Architecture
Checkpointing

Checkpoint lifecycle, threads and namespaces, pending writes, and full vs shallow savers.

Checkpointing
Stores

Persistent key-value storage with namespaces, vector search integration, and cross-thread memory.

Stores
TTL Management

Native Redis TTL, refresh-on-read, TTL propagation, and pinning with PERSIST.

TTL Management
Cluster Support

Automatic cluster detection, cross-slot handling, Azure Managed Redis, and Redis 8.0+ compatibility.

Cluster Support
Middleware

Semantic caching, tool result caching, conversation memory, semantic routing, and middleware composition.

Middleware