@chat-adapter/state-ioredis
Alternative Redis state adapter for Chat SDK using ioredis. Use this if you already have ioredis in your project or need Redis Cluster/Sentinel support.
Installation
Usage
Using an existing client
Configuration
*Either url or client is required.
When to use ioredis vs redis
Use @chat-adapter/state-ioredis when:
- You already use ioredis in your project
- You need Redis Cluster support
- You need Redis Sentinel support
- You prefer the ioredis API
Use @chat-adapter/state-redis when:
- You want the official Redis client
- You're starting a new project
- You don't need Cluster or Sentinel
Key structure
Features
License
MIT