KeyDB
KeyDB is a distributed, Redis-compatible key-value database that adds true multi-master replication, letting any number of servers accept writes and replicate…
Platform availability
Available on 1 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
43/100 Fair
- Maintained
- 2last commit 960 days ago
- Popular
- 8212,498 GitHub stars
- Easy to install
- 251 install platform, install notes
- Light to run
- No data
- Security check
- 95no serious findings, CI, tests
Based on 4 of 5 factors.
Availability: platform listings confirmed today
- GitHub stars
- 12,498
- Open issues
- 296
- Last commit
- 2024-04-04
- Latest release
- v6.3.4
- License
- BSD-3-Clause
- Activity
- rising
Checked 14 days ago - source: GitHub (Snapchat/KeyDB)
Resources & Compatibility
Requirements not published yet.
First-install notes
- Use the auto-start script on Linux only On Ubuntu or Debian, run ./install_server.sh in the utils folder to set KeyDB as a background service that starts after a reboot. If you skip it, KeyDB will stop working when the machine restarts unless you start it again by hand. source
- Install the command-line files with make install Run make install to put KeyDB’s programs in /usr/local/bin, or add PREFIX=/other/path if you need them somewhere else. This matters because other tools and your terminal must be able to find keydb-server and keydb-cli by name. source
- Test the server with keydb-cli before moving on After starting keydb-server, open a second terminal and run keydb-cli, then type ping; you should see PONG. If you don’t, the server is not running or not reachable, so check the KeyDB process first. source
Fetched 40 days ago - each note links to its source
Variants
Alternatives (6)
- CyberPath Sentinel - Filesystem-backed document DBMS in Rust where every record is a Git-versionable JSON file with automatic cryptographic integrity for compli…
- MongoDB - MongoDB is an open-source, document-oriented NoSQL database that stores flexible, JSON-like documents, helping developers and self-hosters…
- Redis - Redis is a fast, in-memory data structure store that can be used as a database, cache, and message broker.
- Valkey - Valkey is an open-source, high-performance in-memory key-value datastore forked from Redis.
- memcached - Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls,…
- ncache - NCache is a fast, scalable, open-source distributed cache for .NET applications that keeps frequently used data in a shared in-memory pool…
Checked 54 days ago - source: AlternativeTo
Common questions
Should large binary blobs be stored in KeyDB?
No; the recommended pattern is to keep write-heavy small data in KeyDB and put big blobs in SQL or an eventually consistent on-disk database.
How do I run commands against a local KeyDB instance?
Run keydb-cli followed by a command and its arguments to send the command to the KeyDB instance on localhost port 6379. Use --help to check host and port options.
Why might a KeyDB server stop accepting connections after running for hours?
One report describes a KeyDB server becoming unresponsive after repeated service restarts with multiple applications connected. The process still runs, but it stops accepting new connections.
How easy is migrating a web application from Redis to KeyDB?
A production user reports that KeyDB is a multi-threaded Redis fork and that migrating a customer web application to it was successful and very easy.
Answers sourced from docs.keydb.dev, docs.keydb.dev, stackoverflow.com, www.reddit.com
Community
- KeyDB Flash storage backend causing OOM erros : r/selfhosted - Reddit (reddit)
- Offline keydb upgrade - www.makemkv.com (forum)
- Newest 'keydb' Questions - Stack Overflow (forum)
- Public KeyDB Disc Submissions - Page 46 - www.makemkv.com (forum)
- KeyDB as a [possible] replacement for Redis : r/sysadmin - Reddit (reddit)
Collected 48 days ago - public community threads