|
So, having implemented MongoDB and having gotten used to it and even starting to like it a fair bit, I also started seeing some other things.
Like, Why can't MySQL be used for this? I mean MySQL is a bit more mature than MongoDB and should be better at handling, say disk-IO. On the other hand, MongoDB is newer. One thing I already knew was that MongoDB really needs to be in-memory to a large extent, when it hits the disk, performance goes downhill fast, so here MySQL is better.
But when we DO have enough RAM (and as we use several MongoDB datastores for different purposes, and we are on Amazon, where you can get respectable amounts of RAM, this is usually the case) what happens? If I let MySQL use RAM it can get so I don't get any disk-IO for reads at all, will it be as fast as MongoDB?
Or maybe even faster. And among the MySQL Storage Engines, the one mostly targeted as a Key Value Store is NDB? How's that going to work. |
|