Umeå University's logo

umu.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Breaking Up with Redis: A Comparative Study of Its Open-Source Alternatives
Umeå University, Faculty of Science and Technology, Department of Computing Science.
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Redis has long been the standard for in-memory key–value datastores, but recent licensing changes have prompted many to explore open-source alternatives. This thesis evaluates Valkey, KeyDB, and Garnet as potential successors to Redis, focusing on three core aspects: performance, migration effort, and long-term viability.

Each system was deployed in a Kubernetes-based environment and benchmarked using a modified version of memtier_benchmark. Realistic, Redis-like workloads were used, including Zipfian key-access patterns and varying concurrency levels. In addition to performance metrics like throughput, tail latency, and resource usage, the evaluation also considered migration complexity, such as compatibility with Redis tooling and API, and long-term viability, including development activity, governance, and open-source licensing.

Garnet delivered the highest performance across all metrics, outperforming Redis by a wide margin in throughput and latency while using significantly less memory. However, Garnet is only partially compatible with Redis and does not fully integrate with existing infrastructure, which increases migration complexity. Valkey performed similarly to Redis and scaled better under load, particularly in read-heavy workloads. As a drop-in replacement, Valkey supports the full Redis API and existing workflows, making migration straightforward. KeyDB showed limited performance improvements and no visible development activity during the evaluation period, raising concerns about sustainability.

The results show that Valkey is the most viable long-term alternative to Redis for general use, offering compatibility and operational continuity. Garnet is a strong option for performance-critical applications where full Redis compatibility is not required. 

This study provides a structured, data-driven comparison to support engineers and decision-makers navigating the current Redis ecosystem.

Place, publisher, year, edition, pages
2025. , p. 57
Series
UMNAD ; 1558
Keywords [en]
Redis, Valkey, KeyDB, Garnet, in-memory key–value store, in-memory database, open-source datastore, NoSQL system, performance benchmarking, tail latency, throughput, resource utilisation, Zipfian workload, memtier_benchmark, Kubernetes, cloud-native architecture, system scalability, Redis API compatibility, migration complexity, software sustainability
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:umu:diva-240241OAI: oai:DiVA.org:umu-240241DiVA, id: diva2:1969436
Educational program
Master of Science Programme in Computing Science and Engineering
Supervisors
Examiners
Available from: 2025-06-16 Created: 2025-06-15 Last updated: 2025-06-16Bibliographically approved

Open Access in DiVA

fulltext(518 kB)874 downloads
File information
File name FULLTEXT01.pdfFile size 518 kBChecksum SHA-512
aa4f6de2d1fe2519a2529e91dc0fac58149ac5e490a89f12c46412c46dde81c4706865f31aeeedc9887b2b61705f221be2d1bafd46dcc82d29e70b198664b552
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Fauvelle Munck af Rosenschöld, Carl-Johan
By organisation
Department of Computing Science
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 874 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 2192 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf