5 ms·
Let's see if I can make your day with a shameless plug. First of all, using the kernel's paging algorithm for a database is awful. It has way less information
by leif 13y ago
Let's see if I can make your day with a shameless plug.
First of all, using the kernel's paging algorithm for a database is awful. It has way less information about your access patterns than the database, so it's going to make a lot of bad decisions, and a bunch of MongoDB's problems with fragmentation and performance cliffs come from using mmap. It's quick and dirty.
Here's the alternative, and it supports the exact same document storage as MongoDB, the same administration interface, actually the same protocol everywhere, hot backup, and however many nodes you want: TokuMX[1]. It does all those things because it's actually mostly MongoDB, just with the storage engine replaced with an engine that works faster, compresses your data, and has more mature things like document-level locking for writers and better multi-document isolation semantics on a single node. Give it a whirl and let us know if you like it.
[1]: http://www.tokutek.com/products/tokumx-for-mongodb http://www.tokutek.com/products/tokumx-for-mongodb
- chris_wot 13y agoWhy is it called a "fractal tree"?
- leif 13y agoMarketing. No technical reason.
- chris_wot 13y agoFrom what I can tell, this has been patented, but was implemented in part by Postgres much earlier.
- leif 13y agoI promise it hasn't, but I'm curious to see what you're talking about. Link?
- chris_wot 13y agoSee this thread: http://www.postgresql.org/message-id/511BDCAB.2080803@agliodbs.com http://www.postgresql.org/message-id/511BDCAB.2080803@agliod...
- leif 13y agoThat thread is talking about the possible inclusion of our indexing library inside Postgres, and was from before we had open sourced the code. IANAL but I think it would be possible to include the fractal tree library in Postgres now if someone wanted to do it, but none of it has ever been implemented by Postgres.
- chris_wot 13y agoI stand corrected! Thanks for the info.