Live data from Hacker News

SSDB: A fast on-disk NoSQL database that uses the Redis protocol

ideawu.com

1–9 of 9 posts

Re: SSDB: A fast on-disk NoSQL database that uses the Redis protocol

#4
post #3

What are its advantages over Redis, besides a slight increase in speed?

Yeah I'd be interested in hearing that as well - I think most will take a slight hit in speed for something that's been successfully used in production with several well-known companies.

Re: SSDB: A fast on-disk NoSQL database that uses the Redis protocol

#6
post #2

Looks great judging from the docs, anyone using this? Care to share any experience?

I don't have any production experience with it, but I did load the entire Bitcoin Testnet blockchain into it without issue. In Redis the same dataset required ~6 gigs of RAM.

Re: SSDB: A fast on-disk NoSQL database that uses the Redis protocol

#8
post #3

What are its advantages over Redis, besides a slight increase in speed?

The major advantage (depending on your use case) is that your dataset is not limited to the size of your available memory.

Does it manage its own cache like InnoDB? Otherwise you're gonna have a bad time.

Redis tried this (see http://redis.io/topics/virtual-memory) but it died a quick and well-deserved death (the code isn't even in it anymore as of 2.6).

Re: SSDB: A fast on-disk NoSQL database that uses the Redis protocol

#9
post #8

Earlier quoted context omitted.

The major advantage (depending on your use case) is that your dataset is not limited to the size of your available memory.

Does it manage its own cache like InnoDB? Otherwise you're gonna have a bad time. Redis tried this (see http://redis.io/topics/virtual-memory ) but it died a quick and well-deserved death (the code isn't even in it anymore as of 2.6).

It uses LevelDB as the storage engine and lets you configure the cache parameters from the configuration file.

   leveldb:
	# in MB
	cache_size: 500
	# in KB
	block_size: 32
	# in MB
	write_buffer_size: 64
	# in MB
	compaction_speed: 1000
	# yes|no
	compression: no