Pita/ueberDB — pull request #11 by ulikoehler (2012-07-22 20:19:13+00:00)
Title: Add LevelDB support

LevelDB should provide good performance or ueberDB (e.g. Etherpad lite) because it's designed as a key-value database and there is a nice and stable Node.js port for it.

My port is pretty straightforward and on all computers I tested it on (Ubuntu 12.04, x86_64), it provides significantly better performance than sqlite (takes about 84 seconds for benchmark.js).

Because node-leveldb currently does not compile, I didn't add the leveldb dependency to package.json (similarly to sqlite).

Currently the default name for the database directory is "leveldb-store" (not in var/ !) Please comment if you think this should be changed!