#338338th of 358 in Backends, databases and hosting
incubator-pegasus
Distributed key-value store with strong consistency, built on RocksDB
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 2.1k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Dec 2023
- Language
- C++
2,041 on 27 Apr 20262,069 on 23 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Apache Pegasus is a horizontally scalable key-value store written in C++. It uses hash partitioning and the PacificA protocol for strongly consistent replication, and RocksDB as the storage engine. Each write is replicated three ways before the client gets a response. It sits between Redis and HBase and has client drivers for six languages. It is not an AI project, so it fits this list only loosely.
Who it is for: Engineers needing a self-hosted, strongly consistent key-value store
Strengths
- Strong consistency via PacificA, with three-way replication before write acknowledgement
- Built-in load balancing, cold backup to HDFS or local disk, and cross-cluster duplication
- Clients for Java, C++, Go, Python, Node.js and Scala
- Write path relies only on the local filesystem, unlike HBase
Weaknesses
- Not an AI project; no model, embedding or agent features
- Last release is 2023-12-11, and the README warns master may be broken
- Cluster has separate MetaServer and ReplicaServer roles, heavier than a single-node store
- No Docker or compose files detected in the repository
What it needs
- no GPU
- Docker + Compose
- Needs RocksDB, HDFS (optional, for backups)
What changed
“Trash the corrupted replica to the path ..pegasus..err when the RocksDB instance reports corruption error while executing write operations instead of leaving it in the same place, to avoid endless co…”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- bug: duplication may access deleted private log files during GC ↗ (opens in a new tab)0 reactions · closed 13 Mar 2026Fixed by fix: avoid reopening GC-deleted plog during duplication ↗ (opens in a new tab)
- Meta server failed to receive heartbeats from replica servers ↗ (opens in a new tab)0 reactions · closed 11 Feb 2026Fixed by fix(network): fix heartbeat failure caused by inability to obtain peer address when receiving UDP data ↗ (opens in a new tab)
- `dsn.replica.test` failed due to an assertion failure when built in debug mode ↗ (opens in a new tab)0 reactions · closed 27 Jan 2026Fixed by fix: fix binary_writer::write not supporting C-style strings ↗ (opens in a new tab)
- Building Pegasus on Ubuntu 20.04 failed due to `openssl/types.h: No such file or directory` ↗ (opens in a new tab)0 reactions · closed 25 Nov 2025Fixed by ci(github): bump OpenSSL from 1 to 3 on Ubuntu 20.04 to fix missing `openssl/types.h` issue ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Backends, databases and hosting
See all 358| Rank | Project | Score |
|---|---|---|
| #336 | nubaseSelf-hosted multi-project backend that coding agents drive over MCP | 36 out of 100 |
| #337 | buffaloGo web framework that generates a full project with frontend, routing and database | 35 out of 100 |
| #339 | lowdbLocal JSON file database for Node.js and browsers, queried with plain JavaScript | 34 out of 100 |
| #340 | djongoDjango database backend that runs the ORM against MongoDB | 34 out of 100 |
| #341 | ballcatJava component library for building admin-backend projects quickly | 34 out of 100 |