Overview
What's Included
- Complete Valkey vs Redis feature comparison
- License differences explained
- Step-by-step migration guide
- Compatibility testing checklist
- Performance benchmarks
- Production deployment recommendations
- Community and support options
Step-by-Step Guide
1
Understanding the Fork
Why Valkey exists and what it means for Redis users.
# Timeline:
# March 2024: Redis changes license from BSD to RSALv2 + SSPLv1
# March 2024: Linux Foundation announces Valkey fork
# April 2024: Valkey 7.2.5 released (fork of Redis 7.2.4)
# 2025-2026: Valkey 8.x releases with new features
# What Changed:
# - Valkey is 100% BSD licensed (truly open source)
# - Backed by AWS, Google, Oracle, Alibaba, Ericsson
# - Drop-in replacement - same commands, same protocol
# - Active development continues with new features
# Who Should Care:
# - Cloud providers (can't offer Redis as a service anymore)
# - Companies with open-source requirements
# - Anyone wanting long-term community support
2
Migration Steps
How to migrate from Redis to Valkey with zero downtime.
# Step 1: Test Compatibility
# Valkey is protocol-compatible with Redis 7.2
valkey-cli --version # Should show 7.2.x or 8.x
# Step 2: Update Client Libraries
# Most Redis clients work unchanged
# Python: redis-py works with Valkey
# Node.js: ioredis works with Valkey
# Java: Jedis/Lettuce work with Valkey
# Step 3: Setup Replication
# Point Valkey as replica of existing Redis
valkey-server --replicaof redis-host 6379
# Step 4: Verify Data Sync
valkey-cli DBSIZE
valkey-cli INFO replication
# Step 5: Promote Valkey
valkey-cli REPLICAOF NO ONE
# Step 6: Update Application Config
# Change connection string from redis:// to valkey host
# No code changes required
3
Compatibility Checklist
Verify your application works with Valkey.
# Commands: 100% compatible with Redis 7.2
# Test your most critical operations:
# Data Structures
SET key value
GET key
HSET hash field value
LPUSH list item
SADD set member
ZADD sortedset 1 member
# Pub/Sub
PUBLISH channel message
SUBSCRIBE channel
# Streams
XADD stream * field value
XREAD STREAMS stream 0
# Clustering
CLUSTER INFO
CLUSTER NODES
# Modules: Check compatibility
# - RedisJSON -> Works
# - RediSearch -> Use alternative (Valkey Search in development)
# - RedisGraph -> Discontinued by Redis Inc
4
Performance Comparison
Benchmark results comparing Valkey and Redis.
# Benchmark: redis-benchmark equivalent tests
# Instance: r5.large, 16GB RAM
# SET/GET Operations (ops/sec):
# Redis 7.2: ~150,000
# Valkey 7.2: ~150,000
# Valkey 8.0: ~160,000 (I/O threading improvements)
# Latency (p99):
# Redis: <1ms
# Valkey: <1ms
# Memory Efficiency:
# Identical - same data structures
# Conclusion: Performance is equivalent or better
# Valkey 8.x has multi-threaded I/O improvements
Comparison
| Aspect | Valkey | Redis |
|---|---|---|
| License | BSD 3-Clause | RSALv2 + SSPLv1 |
| Cloud Hosting | Allowed | Restricted |
| Protocol | RESP3 | RESP3 |
| API Compatibility | Redis 7.2+ | N/A |
| Governance | Linux Foundation | Redis Inc |
| Support | Community + vendors | Redis Inc |
| Modules | Growing ecosystem | Proprietary |
Use Cases
- Session storage and caching
- Real-time leaderboards
- Rate limiting
- Pub/Sub messaging
- Distributed locks
- Job queues
Pricing
Our AMIs are available on AWS Marketplace with simple hourly pricing:
- Software: $0.10-0.15/hour (varies by product)
- EC2: Standard AWS pricing for your chosen instance
- Support: 24/7 included with guaranteed 24-hour response
Need Help?
Our UK-based support team is here to help you get the most out of your deployment. Email us at support@flowopsconsulting.co.uk for any questions.
Comments