Earlier quoted context omitted.
That's correct. We're using leveldb as the back-end for IndexedDB in Chrome.
Please enlighten me, in the LevelDB page it said: > Only a single process (possibly multi-threaded) can access a particular database at a time. But I presume Chrome is multiprocess by nature?
LevelDB: a fast and lightweight key/value database library
51–60 of 82 posts
Re: LevelDB: a fast and lightweight key/value database library
#52Re: LevelDB: a fast and lightweight key/value database library
#53The implementation seems to use Log-Structured Merge Trees. The only paper on this data structure seems to be: http://goo.gl/CVF1l This paper is poorly written and quite honestly not useful to implement an LSM tree. Does anyone know of a better paper than this one?
Re: LevelDB: a fast and lightweight key/value database library
#54The implementation seems to use Log-Structured Merge Trees. The only paper on this data structure seems to be: http://goo.gl/CVF1l This paper is poorly written and quite honestly not useful to implement an LSM tree. Does anyone know of a better paper than this one?
http://labs.google.com/papers/bigtable.html
Re: LevelDB: a fast and lightweight key/value database library
#55Earlier quoted context omitted.
Did you consider fractal trees? http://tokutek.com/presentations/bender-Scalperf-9-09.pdf
Is there a more useful technical paper on Fractal Trees? Better yet is there a open source implementation of the same?
http://supertech.csail.mit.edu/papers/sbtree.pdf
I don't know for certain any open-source implementation, but I have heard COLAs are used in HBase.
Re: LevelDB: a fast and lightweight key/value database library
#56Re: LevelDB: a fast and lightweight key/value database library
#57Earlier quoted context omitted.
http://labs.google.com/papers/bigtable.html
But it doesn't really describe the LSM data structure!
http://code.google.com/p/leveldb/source/browse/trunk/doc/imp...
Re: LevelDB: a fast and lightweight key/value database library
#58Re: LevelDB: a fast and lightweight key/value database library
#59Note that this is not a database server , like Redis or Memcached. This is a database library , more along the lines of sqlite. In particular: "There is no client-server support builtin to the library. An application that needs such support will have to wrap their own server around the library" and only one process can access a database a time.
It's the same model that Tokyo/Kyoto Cabinet uses. The difference is that Tokyo/Kyoto Tyrant is an available network interface :)
Re: LevelDB: a fast and lightweight key/value database library
#60Earlier quoted context omitted.
One of the leveldb authors here. TokyoCabinet is something we seriously considered using instead of writing leveldb. TokyoCabinet has great performance usually. I haven't done a careful head-to-head comparison, but it wouldn't surprise me if it was somewhat faster than leveldb for many workloads. Plus TokyoCabinet is more mature, has matching server code etc. and may therefore be a better fit for many projects. Howev…
Did you consider fractal trees? http://tokutek.com/presentations/bender-Scalperf-9-09.pdf