Self-Hosted OSS Cache & Queues
Valkey
Linux Foundation BSD-licensed open-source drop-in successor to Redis.
Self-Hosted Blueprint
valkey-io/valkey ↗- Min RAM / CPU
- 64 MB · 1 vCPU
- License
- BSD-3-Clause
- GitHub Stars
- 28k
- Maintenance
- Low
One-click templates on: coolify dokploy
Quickstart / Docker Compose
docker-compose.yml
services:
valkey:
image: valkey/valkey:8-alpine
restart: unless-stopped
command: valkey-server --appendonly yes --maxmemory 256mb --maxmemory-policy allkeys-lru
volumes:
- valkey_data:/data
volumes:
valkey_data:Gotchas & Hidden Limits
- Set --maxmemory explicitly so cache spikes never trigger Linux OOM-killer on a shared $5 VPS.
Best For: BullMQ job queues, session stores, and high-throughput internal caching.
Crossover Point: Virtually $0 marginal cost alongside any existing Docker stack; eliminates per-command cloud fees.
Related Comparisons & Alternatives
Alternative To
Spot an outdated limit or pricing change?