LevelDB is a light-weight, single-purpose library for persistence with bindings to many platforms.C++ LibraryLevelUP (Node.js)Plyvel (Python)
Sorted by keys
By default, LevelDB stores entries lexicographically sorted by keys. The sorting is one of the main distinguishing features of LevelDB amongst similar embedded data storage libraries and comes in very useful for querying as we’ll see later.
Arbitrary byte arrays
Both keys and values are treated as simple arrays of bytes, so content can be anything from ASCII strings to binary blobs.
Google’s Snappy compression library is an optional dependency that can decrease the on-disk size of LevelDB stores with minimal sacrifice of speed. Snappy is highly optimized for fast compression and therefore does not provide particularly high compression ratios on common data.
Levelup is a Node.js project that aims to provide a common, portable interface to a multitude of LevelDB forks such as Hyperdex. Check out the many flavours of LevelDB made available though this project.
Most databases are mysterious black-boxes. LevelDB provides a highly transparent, light-weight foundation for you to compose higher-level features on top of.
Embeddable & Networkable
LevelDB is embedded, but can be networked adding protocols such as http, tcp or udp to your process.
- LevelDB (sessions and workshops)
- Various camp counsellors at NodeConf (July 3rd–6th)
- OS X
Visit us on irc.freenode.net in ##leveldb.
Do you have a detailed question? Check out Google Groups!LevelDB LevelUP @leveldb