SSDB is key-value(zset, hash, list) storage server, with Google LevelDB as storage engine, its goal is to replace Redis when encounter large sum of data that won’t fits the server’s memory.
https://github.com/ideawu/ssdb
SSDB Docs: http://ssdb.io/docs/
SSDB’s main features:
- Uses Google LevelDB as storage engine
- Master-slave replication, recover from break point after network failure
- Online backup through network
- Very suitable for storing collection data
- Uses small RAM
PHP API
<?php require_once('SSDB.php'); $ssdb = new SimpleSSDB('127.0.0.1', 8888); $resp = $ssdb->set('key', '123'); $resp = $ssdb->get('key'); echo $resp; // output: 123
PHP API Docs: http://ssdb.io/docs/php/
SSDB vs Redis