LevelDB: Iterate keys by insertion order -


what's strategy generating auto-incrementing keys in leveldb? goal able iterate on keys in order inserted.

since leveldb instance can accessed 1 application @ time, might use 64-bit long , increment in application. when opening db (and before allowing writes), find last inserted key can use seektolast() method of iterator.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

jquery - How can I dynamically add a browser tab? -