[{"data":1,"prerenderedAt":138},["ShallowReactive",2],{"seo-verification":3,"blog-valkey-vs-redis-migration-2026-en":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"id":7,"slug":8,"title":9,"excerpt":10,"readTime":11,"views":12,"isPinned":13,"publishedAt":14,"category":15,"categories":21,"featuredImage":23,"bgImage":24,"posterImage":25,"relatedSolution":23,"intro":26,"sections":27,"ctaTitle":93,"ctaBody":94,"ctaButton":95,"ctaUrl":96,"relatedPosts":97},217,"valkey-vs-redis-migration-2026","Valkey vs Redis in 2026: Comparison and Migration Guide","Redis returned to an OSI-compatible license (AGPLv3) in March 2026, but Valkey 9.1 is now the default cache package on Ubuntu, Debian and Fedora, delivering +8% ops\u002Fsec and -22% P99 latency. Here's how to choose and migrate in 4 steps.",7,0,false,"2026-08-03T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},6,"Databases","bases-de-donnees","bg-teal-500\u002F10 text-teal-400","database",[22],{"id":16,"name":17,"slug":18,"color":19,"icon":20},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fvalkey-vs-redis-migration-2026-poster.svg","In 2024, Redis's switch to the BSL license shook the open source ecosystem. The Linux Foundation, Meta, Google and AWS responded with Valkey, a BSD-licensed fork maintained collectively. Redis reversed course in March 2026 by adopting AGPLv3 — but the story doesn't end there. Valkey 9.1, released in May 2026, is now the default cache package on major Linux distributions, delivering +8% operations per second, -22% P99 latency and -20% memory usage compared to Redis. This guide helps you understand the differences, choose the right solution and migrate in four steps.",[28,32,68,71,87,90],{"type":29,"title":30,"body":31},"h2","Why the Redis\u002FValkey debate is back in 2026","In March 2024, Redis Ltd. switched to the BSL (Business Source License), which is excluded from OSI open source definitions. The reaction was immediate: the Linux Foundation coordinated the creation of Valkey with support from Meta, Google, AWS and several major hosting providers. The fork started from the Redis 7.2 codebase under a BSD license. In late March 2026, Redis returned to an OSI-compatible license by adopting AGPLv3 — a positive signal, but AGPLv3 is a strong copyleft: any software that integrates it must publish its source code, which creates real constraints for reseller hosting providers and commercial software vendors. Meanwhile, Valkey 9.1 became the default package on Ubuntu 24.04+, Debian 13 and Fedora 40+, consolidating its adoption across major distributions.",{"type":33,"title":34,"headers":35,"rows":39},"comparison","Redis vs Valkey: key differences in 2026",[36,37,38],"Criterion","Redis 8 (AGPLv3)","Valkey 9.1 (BSD)",[40,44,48,52,56,60,64],[41,42,43],"License","AGPLv3 — strong copyleft, restricted commercial embedding","BSD — permissive, free commercial use",[45,46,47],"Performance","Historical reference","+8% ops\u002Fsec, -22% P99 latency, -20% memory",[49,50,51],"Protocol compatibility","100% Redis protocol","100% Redis protocol — transparent drop-in replacement",[53,54,55],"Distro support","Not installed by default","Ubuntu 24.04+, Debian 13, Fedora 40+ — native package",[57,58,59],"Modules","Redis Stack paid (RedisJSON, RediSearch…)","Compatible module API, growing ecosystem",[61,62,63],"Cloud adoption","AWS ElastiCache remains Redis","GCP Memorystore Valkey available, AWS moving toward Valkey",[65,66,67],"Best for","Existing projects depending on Redis Stack modules","New projects, hosting providers, sovereign stacks, modern distros",{"type":29,"title":69,"body":70},"When to choose Valkey over Redis","Valkey is the natural choice in several scenarios. Hosting providers and resellers are the most directly affected: Redis's AGPLv3 requires publishing the source code of any service that integrates it, a constraint incompatible with most commercial offerings. New projects have no reason to start with Redis: Valkey is the default package on recent distributions, performance is superior and the license is unrestricted. GDPR and sovereignty-focused stacks also benefit from the Linux Foundation's neutral governance compared to a private vendor. Finally, if you don't use Redis Stack proprietary modules (RedisJSON, RediSearch, RedisTimeSeries), migration is transparent — all your existing libraries and configurations remain valid.",{"type":72,"title":73,"steps":74},"steps","Migrate from Redis to Valkey in 4 steps",[75,78,81,84],{"title":76,"body":77},"Check compatibility","Run `redis-cli INFO server | grep redis_version` to identify your current version. List your dependencies and confirm none use Redis Stack modules (RedisJSON, RediSearch, RedisTimeSeries). If they do, direct migration is not yet recommended.",{"title":79,"body":80},"Install Valkey","On Ubuntu 24.04+ and Debian 13, Valkey is available in native repositories: `apt install valkey`. On Fedora 40+, use `dnf install valkey`. On older distributions, add the official Valkey repository before installing.",{"title":82,"body":83},"Copy your existing configuration","The configuration syntax is identical between Redis and Valkey. Simply copy your file: `cp \u002Fetc\u002Fredis\u002Fredis.conf \u002Fetc\u002Fvalkey\u002Fvalkey.conf`. Check socket and data paths if you have customized those settings.",{"title":85,"body":86},"Migrate data and validate","Export your Redis data via an RDB snapshot (`redis-cli --rdb \u002Ftmp\u002Fdump.rdb`) then import it into Valkey by placing the file in Valkey's `dir` directory. Start the service (`systemctl start valkey`), then validate with `valkey-cli ping` — you should get `PONG`. All your existing Redis libraries (ioredis, Predis, redis-py) are compatible without modification.",{"type":88,"body":89},"tip","Valkey includes `valkey-benchmark`, functionally identical to `redis-benchmark`. Before any production migration, validate performance on your hardware with `valkey-benchmark -n 100000 -q`. This command sends 100,000 requests and displays an ops\u002Fsec summary for each command type. Expected result: figures higher than your previous Redis instance on the same server.",{"type":29,"title":91,"body":92},"What about your other databases on VPS?","Valkey is just one piece of your data stack. If you also host a relational database, check our guide on MariaDB on VPS: configuration, performance and replication. For full-text search engines, Elasticsearch on VPS covers installation, memory tuning and production indexing. Each component deserves configuration tailored to your workload — our Cloud VPS gives you full control over your environment.","Deploy Valkey on a fully controlled VPS","Our Cloud VPS gives you full root access to install Valkey, configure your data stack and optimize performance for your real workload. No proprietary layer, no license restrictions.","Deploy my VPS","\u002Fvps-cloud",[98,111,125],{"id":99,"slug":100,"title":101,"excerpt":102,"readTime":11,"views":12,"isPinned":13,"publishedAt":103,"category":104,"categories":105,"featuredImage":23,"bgImage":24,"posterImage":107,"relatedSolution":108},146,"heberger-mariadb-vps","MariaDB on a VPS: free, fast, controlled SQL","Deploy MariaDB on a ServOrbit VPS: persistent storage, accounts, backups and locked-down network access.","2026-01-30T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},[106],{"id":16,"name":17,"slug":18,"color":19,"icon":20},"\u002Fblog\u002Fcovers\u002Fheberger-mariadb-vps-poster.svg",{"categorySlug":109,"appSlug":110},"db","mariadb-stack",{"id":112,"slug":113,"title":114,"excerpt":115,"readTime":116,"views":117,"isPinned":13,"publishedAt":118,"category":119,"categories":120,"featuredImage":23,"bgImage":24,"posterImage":122,"relatedSolution":123},69,"heberger-elasticsearch-vps","Hosting Elasticsearch on a VPS","Install Elasticsearch on your VPS: full-text indexing, aggregations and centralized logs in Docker, with security and SSL.",8,353,"2026-04-12T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},[121],{"id":16,"name":17,"slug":18,"color":19,"icon":20},"\u002Fblog\u002Fcovers\u002Fheberger-elasticsearch-vps-poster.svg",{"categorySlug":18,"appSlug":124},"elasticsearch",{"id":126,"slug":127,"title":128,"excerpt":129,"readTime":16,"views":130,"isPinned":13,"publishedAt":131,"category":132,"categories":133,"featuredImage":23,"bgImage":24,"posterImage":135,"relatedSolution":136},67,"heberger-meilisearch-vps","Hosting Meilisearch on a VPS","Host Meilisearch on your VPS: an instant, fault-tolerant and typo-tolerant search engine. A Docker, master key and SSL guide.",279,"2026-04-14T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},[134],{"id":16,"name":17,"slug":18,"color":19,"icon":20},"\u002Fblog\u002Fcovers\u002Fheberger-meilisearch-vps-poster.svg",{"categorySlug":18,"appSlug":137},"meilisearch",1785765051768]