Skip to main content
Redis serves as the message queue and broker for Repoch’s distributed architecture. Using an external Redis instance allows task executors, recorders, and broadcasters to scale independently in separate processes.
By default, Redis connects to localhost:6379. You don’t need to specify this in your configuration unless using a different host or port.

Install Redis

brew install redis
brew services start redis

Verify Connection

Immediately verify Redis is running:
redis-cli ping
# Should return: PONG

Configure Repoch (Optional)

If using non-default Redis settings, update your configuration:
[redis]
host = "redis.example.com"
port = 6380
A default configuration file exists at configs/redis.server.toml that you can modify as needed.

Next Steps

Executor Setup

Set up the task executor for background jobs