2013-10-08

SSDB now supports Snappy compression

Views: 16506 | 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: ,

2 Responses to "SSDB now supports Snappy compression"

Leave a Comment