Introduction to SSDB





SSDB is a high-performance NoSQL database developed in C/C language, supporting KV, List, map(hash), zset(sorted set), qlist(queue) and other data structures are used to replace or cooperate with Redis to store billion-level list data.

SSDB is stable and can be used in production environments , has been widely used by many Internet companies, such as Qihoo 360, TOPGAME.

Features

  • Replace Redis database, 100 times the capacity of Redis
  • LevelDB network support, use C/C development
  • Redis API compatibility, support Redis clients The client
  • is suitable for storing collection data, such as kv, list, hashtable, zset, hset, qlist...
  • Client API supported languages ​​include: C ,                                                                                                           use   use with   using  -                             to                                             to                                                                                                       #Master-slave replication, load balancing ##PHP api usage example
  • <?phprequire_once('SSDB.php');$ssdb = new SimpleSSDB('127.0.0.1', 8888);$resp = $ssdb->set('key', '123');$resp = $ssdb->get('key');echo $resp; // output: 123

Quick installation
wget --no-check-certificate https://github.com/ideawu/ssdb/archive/master.zipunzip mastercd ssdb-mastermake

##optional, install ssdb in /usr/local/ssdb

sudo make install

Startup

# start master./ssdb-server ssdb.conf
#or start as daemon./ssdb-server -d ssdb.conf



Performance comparison

Performance data uses ssdb-bench (SSDB) and redis-benchmark (Redis) to obtain.

License Agreement

SSDB adopts New BSD License License agreement, a very loose and flexible agreement.



##