Hacker News new | ask | show | jobs
by otterley 4474 days ago
What are its advantages over Redis, besides a slight increase in speed?
2 comments

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.
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