KeyDB: A Multithreaded, High-Performance Fork of Redis

This repository profile is provided by osrepos.com, an open source repository discovery platform.

KeyDB: A Multithreaded, High-Performance Fork of Redis

Summary

KeyDB is a high-performance, multithreaded fork of Redis, designed for enhanced memory efficiency and high throughput. It maintains full compatibility with the Redis protocol, modules, and scripts, making it a seamless drop-in replacement. KeyDB also introduces advanced features like Active Replication and a MVCC architecture for non-blocking operations.

Repository Information

Analyzed by OSRepos on January 12, 2026

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

KeyDB is a high-performance, multithreaded fork of Redis, developed with a strong focus on memory efficiency and high throughput. It maintains full compatibility with the Redis protocol, modules, and scripts, making it a drop-in replacement for existing Redis deployments. KeyDB offers advanced features such as Active Replication, FLASH Storage, and Subkey Expires, alongside a MVCC architecture that allows non-blocking queries like KEYS and SCAN. Recently, KeyDB became part of Snap Inc., further solidifying its development and open-source commitment.

Installation

KeyDB is primarily designed and tested for Linux environments, leveraging features like SO_REUSEPORT. To get started, first initialize and update submodule dependencies:

git submodule init && git submodule update

Next, install the necessary build dependencies. For Debian/Ubuntu systems, this typically involves:

sudo apt install build-essential nasm autotools-dev autoconf libjemalloc-dev tcl tcl-dev uuid-dev libcurl4-openssl-dev libbz2-dev libzstd-dev liblz4-dev libsnappy-dev libssl-dev

After dependencies are installed, compile KeyDB with a simple make command:

make

For specific configurations, such as systemd support, TLS, or FLASH storage, additional make flags are available. If you encounter build issues or need to rebuild with different options, make distclean is recommended to clear cached build options and dependencies.

Examples

Running KeyDB is straightforward. Navigate to the src directory and execute keydb-server:

cd src
./keydb-server

You can also specify a configuration file or pass command-line options:

./keydb-server /path/to/keydb.conf --port 9999

To interact with your KeyDB instance, use keydb-cli:

cd src
./keydb-cli
keydb> ping
PONG
keydb> set foo bar
OK
keydb> get foo
"bar"
keydb> incr mycounter
(integer) 1

A comprehensive list of commands is available in the KeyDB documentation.

Why use

KeyDB distinguishes itself by offering significantly higher throughput than Redis on the same hardware, leading to reduced operational costs and complexity. Its multithreaded architecture efficiently utilizes modern multi-core processors, while maintaining Redis protocol compatibility. Features like Active Replication simplify hot-spare failover and enable distributed writes across replicas. KeyDB's MVCC design ensures that operations like KEYS and SCAN do not block the database, preserving performance. The project's philosophy emphasizes a "batteries included" approach, aiming to provide a more complete and user-friendly experience by integrating features that might otherwise require external components. Backed by Snap Inc., KeyDB is actively maintained and committed to the open-source community.

Links

Related repositories

Similar repositories that may be relevant next.

Helium: A Privacy-First, Chromium-Based Web Browser

Helium: A Privacy-First, Chromium-Based Web Browser

July 1, 2026

Helium is an open-source, Chromium-based web browser designed with a strong focus on user privacy and an unbiased ad-blocking experience. It aims to provide a fast, honest, and bloat-free browsing environment for users. Built upon ungoogled-chromium, it offers a secure alternative for daily web navigation.

browserchromiumprivacy
XGrammar: Fast, Flexible, and Portable Structured Generation for LLMs

XGrammar: Fast, Flexible, and Portable Structured Generation for LLMs

June 27, 2026

XGrammar is an open-source library for efficient, flexible, and portable structured generation, developed by mlc-ai. It leverages constrained decoding to guarantee 100% structural correctness for outputs like JSON and regex. Optimized for near-zero overhead, XGrammar offers universal deployment across various platforms, hardware, and programming languages, making it a leading solution for structured output from large language models.

large-language-modelsstructured-generationC++
Notes: A Fast and Beautiful Cross-Platform Note-Taking App

Notes: A Fast and Beautiful Cross-Platform Note-Taking App

June 18, 2026

Notes is an open-source, cross-platform note-taking application designed for speed and beauty. Written in C++ with Qt, it offers robust features like Markdown support, Kanban boards for tasks, and comprehensive organization options. This app prioritizes user privacy, ensuring a secure and efficient environment for capturing your thoughts.

note-taking-appcross-platformmarkdown
h264-mp4-encoder: H264 and MP4 Encoding for Web and Node.js

h264-mp4-encoder: H264 and MP4 Encoding for Web and Node.js

May 25, 2026

The `h264-mp4-encoder` project provides a powerful solution for encoding H264 video and outputting it as an MP4 file directly within web browsers using WebAssembly or in Node.js environments. It leverages `minih264` and `libmp4v2` to offer efficient video creation, making it ideal for applications requiring dynamic video generation from sources like the HTML5 Canvas. This tool simplifies the process of integrating video encoding capabilities into web-based projects.

C++WebAssemblyJavaScript

Source repository

Open the original repository on GitHub.

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️