forrealtime

Redis Adapters

Use ioredis, Bun.redis, or write your own Redis adapter.

forrealtime uses an adapter pattern so you can bring your own Redis client. Two official adapters are included, and you can write your own.

  • ioredis — Use the popular ioredis client
  • Bun Redis — Use Bun's built-in Redis client
  • Custom Adapter — Implement the RedisAdapter interface for any Redis client