• 2013-12-19

    SSDB 1.6.7 supports key expiration(TTL)

    Views: 15223 | 6 Comments

    Since SSDB 1.6.7, the key expiration(TTL) feature is supported. You can set a value to a key, with a time to live. After this time, the will be automatically deleted. With this feature, you can use SSDB as a persistent cache service.

    Usage:

    $ssdb->setx('key', 'value', 60);
    

    The code above set key=value, and key will be expired after 60 seconds.

    Download SSDB NoSQL database: https://github.com/ideawu/ssdb

    Posted by ideawu at 2013-12-19 13:46:06 Tags: , ,
  • 2013-11-19

    Client-server support for Facebook’s rocksdb

    Views: 7111 | No Comments

    Facebook’s opensourced rocksdb is an awsome nosql storage engine, but it does not contain client-server network support.

    So I create the project ssdb-rocks to give rocksdb client-server facility, which is based on the source code of ssdb, a Redis compatible database.

    Download ssdb-rocks: https://github.com/ideawu/ssdb-rocks

    Posted by ideawu at 2013-11-19 23:22:24
  • 2013-11-18

    SSDB beats Redis!

    Views: 15914 | 2 Comments

    With ssdb-bench and redis-benchmark tools, we can compare SSDB’s performance vs Redis. With 10, 20, 30, 40, 50 concurrent clients, SSDB’s get operation reaches a super fast speed of 55000 qps! Which is faster than Redis is(53000 qps).

    However, SSDB’s set operation is a bit slower than Redis, which is as expected.

    Posted by ideawu at 2013-11-18 17:00:11 Tags:
  • 2013-10-17

    SSDB C++ client API supported

    Views: 12909 | 2 Comments

    I am pleased to announce, the SSDB C++ client API is now provided! Along with documentations!

    The API is very easy to use, compiling a program is as simple as

    g++ -o hello-ssdb libssdb.a hello-ssdb.cpp
    

    Where hello-ssdb.cpp is a SSDB client application.

    SSDB C++ API Doc: http://www.ideawu.com/ssdb/docs/cpp/

    Posted by ideawu at 2013-10-17 22:32:58 Tags: ,
  • 2013-10-08

    SSDB now supports Snappy compression

    Views: 14031 | 2 Comments

    Since version 1.6.2, SSDB integrates with the Snappy compression library.

    Snappy is a fast compression library developed by Google, and is widely used inside Google, also many famous open source software, like Cassandra, Hadoop, etc.

    Althought LevelDB will auto check you system to see if there is Snappy installed in its Makefile, and enable Snappy if it find Snappy installed, but the compilation usually failed dure to various dependency problem. To make this problem never happen, SSDB integrates with Snappy in the source code level, that is the Snappy source code is provided in SSDB’s source code package.

    So SSDB’s compilation and installation is as the same as previous versions. And most important, the new version SSDB with Snappy is completely compatible with older version of SSDB without Snappy.

    You can still not enable Snappy in your ssdb.conf file anyway. If you use the ssdb.conf file without Snappy compression option shown below, the default option is no-compression. You can enable Snappy compression by this option in ssdb.conf:

    leveldb:
    	compression: yes
    

    SSDB A fast NoSQL database server with zset data type, suitable for storing very large list of data: https://github.com/ideawu/ssdb

    Posted by ideawu at 2013-10-08 21:48:17 Tags: ,
|<<<2345678910>>>| 6/19 Pages, 91 Results.