PikiwiDB is a high-capacity KV store compatible with the Redis wire protocol and common Redis data structures, persisting data in RocksDB. It targets deployments that outgrow single-node Redis memory limits.
Overview
PikiwiDB keeps Redis-style commands and types—including strings, hashes, lists, sets, sorted sets, streams, pubsub, bitmaps, hyperloglog, and geo—while backing them with on-disk RocksDB storage and multi-level caching. The design positions it as a complement when Redis memory ceilings or recovery times become painful, not a drop-in replacement for every Redis workload.
Master-replica deployments follow Redis slaveof semantics with binlog asynchronous replication, and Codis-style clustering groups shards for elastic scale-out. Migration tooling supports moving from Redis without application code changes.
Each data structure can use a dedicated RocksDB instance in master-slave mode, with a multi-threaded server model for CentOS, Ubuntu, macOS, and Rocky Linux targets. Docker and docker-compose examples are available for container trials.
Large production adopters include multi-terabyte single-instance footprints in internal internet company deployments.
Key features
- Redis protocol and datatype compatibility
- RocksDB persistence with hot cache tier
- Master-slave and Codis cluster modes
- Binlog asynchronous replication
- Redis-to-PikiwiDB migration tooling
- Docker and compose deployment examples
- Multi-threaded storage engine
Use cases
- Store hundreds of gigabytes behind Redis clients
- Reduce memory cost for large KV datasets
- Scale reads with master-replica topologies
- Migrate oversized Redis instances to disk-backed KV