A fast, persistent NoSQL database with Redis compatibility, designed for storing collection data on disk.
SSDB is a fast NoSQL database that stores data persistently on disk while maintaining compatibility with Redis clients. It is designed to handle collection data types like key-value pairs, sorted sets, hashmaps, and lists, offering an alternative to Redis for applications where disk persistence is critical. The database is production-ready and used by several internet companies for its stability and performance.
Developers and engineers building applications that require a Redis-like interface with persistent storage, such as caching systems, real-time analytics, and queue services. It is also suitable for teams needing a self-hosted, high-performance database for large-scale data.
SSDB provides the best of both worlds: the speed and client compatibility of Redis with the durability of disk-based storage. Its built-in replication and support for multiple programming languages make it a versatile choice for production deployments where data persistence and scalability are priorities.
SSDB - A fast NoSQL database, an alternative to Redis
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
SSDB supports Redis protocols, allowing existing Redis clients to connect seamlessly, as demonstrated in the PHP example where standard SET/GET commands work without modification.
Built on LevelDB, SSDB ensures data durability across restarts, making it suitable for applications where in-memory data loss is unacceptable, as highlighted in its design philosophy.
Benchmarks show high performance for operations on sorted sets, hashmaps, and lists, with QPS rates over 40,000 for typical operations like hset and zget, indicating efficient disk handling.
Widely deployed by internet companies like QIHU 360, SSDB is battle-tested for large-scale production environments, as noted in the README's emphasis on its reliability.
While compatible with many Redis commands, SSDB may not implement all features, such as newer data types or advanced modules, potentially restricting migration scenarios or requiring workarounds.
Relying on LevelDB can introduce write amplification and background compaction, which might affect performance during heavy write loads, as hinted in the 'Changes made to LevelDB' section.
Requires compilation from source on most platforms, and Windows support is via a separate executable, adding deployment steps compared to drop-in binaries like Redis, which can slow initial setup.
ssdb is an open-source alternative to the following products: