Install a highly available cache#
Mirantis Secure Registry (MSR) 4 uses an external cache backend to store the following non-persistent operational data:
- User sessions to maintain state for active authenticated UI sessions.
- Jobservice queues to coordinate background operations, including image replication, vulnerability scanning, and garbage collection.
Both Valkey and Redis are supported as cache backends. Valkey is recommended for all deployments, while Redis is supported for existing deployments only.
Select an installation guide based on your environment:
| Backend | Architecture | Environment |
|---|---|---|
| Valkey | Replication | Development and staging |
| Redis (deprecated) | Replication | Development and staging |
| Redis (deprecated) | Replication + Sentinel | Production; automatic failover required |
If you have an existing Redis deployment, see Migrate from Redis to Valkey.