News for hackers. Stuff that matters.
Re:Evaluating key-value and document stores for short read d... by daeken on Monday May 18, 2009 @11:53PM (#616209)
It surprises me that Tokyo Cabinet is so slow to load, as I've had great success with it on my own, but I've not used Tyrant/pytyrant. I'd love to see some information on where the bottlenecks are in the loading process, as it seems to me that there's something funky going on that can likely be improved pretty easily.

Edit: He notes in the comments that a switch to pytc (direct Tokyo Cabinet bindings rather than going through Tyrant) would improve things, but that he wanted to keep it distributed. I'd still like to see where the bottlenecks are, though.

Re:Evaluating key-value and document stores for short read d... by greendestiny on Tuesday May 19, 2009 @12:29AM (#616251)
It was probably compressed, hence the size load/time tradeoff.
Re:Evaluating key-value and document stores for short read d... by chapmanb on Tuesday May 19, 2009 @08:12AM (#616615)
Yes, that's right. For the test I ran the tyrant server with:

ttserver test.tcb#opts=ld#bnum=1000000#lcnum=10000

d specifies a deflate encoding. The type of database may also make a difference on loading times; in this case it was a B+ tree.

Re:Evaluating key-value and document stores for short read d... by leej on Tuesday May 19, 2009 @03:44AM (#616433)
i dont get it why does each datastore needs a tyrant process running. anyway...

OTOH, he can do that in any rdbms because he does not have large number of simultenous users.

Re:Evaluating key-value and document stores for short read d... by chapmanb on Tuesday May 19, 2009 @08:22AM (#616627)
There I was brainstorming ideas to replicate the hierarchical database/collection/document management that MongoDB and CouchDB offer. One solution I have used, and became disenchanted with, was combined keys with all this information munged together. It would be interesting to hear what others do with their key/value stores.