• 2013-12-19

    SSDB 1.6.7 supports key expiration(TTL)

    Views: 23980 | 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.


    $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-10-17

    SSDB C++ client API supported

    Views: 21207 | 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: 19363 | 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:

    	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: ,
|<<<1>>>| 1/1 Pages, 3 Results.