View Source Chord.Backend.Redis (Chord v0.1.1)

Redis-based backend for Chord, providing context-level state and delta management with versioning support.

Configuration

To use Redis as a backend, follow these steps:

  1. Start a Redis connection process using Redix with your desired configuration:
  {:ok, _} = Redix.start_link("redis://localhost:6379", name: :my_redis)
  1. Set the Redis client in the application environment:
  Application.put_env(:chord, :redis_client, :my_redis)