by pothibo · 13y ago · 0 comments
Choosing a database is not only about performance, it's about the type of application you are building, the stage it's in (prototype product doesn't have the same need as a product that has grown over 5 years).
It's also about the people that works on the project. Some projects are better handled in a specific language (ruby/java/php,asp.net, etc.)
For example, using MongoDB on a ruby stack to build a prototype is a pretty good choice. Moving some loads off mongo to redis would be a solution later on. And eventually, the need would arise to migrate your mongoDB stack to Cassandra.
Comparing in-memory storage with SQL and NoSQL isn't a useful and misses the point.
As everyone who has worked on a large enterprise type project before knows, the decisions you make at the start live on. It is very rare to completely switch major parts of your architecture especially today where the database you choose will affect your entire architecture.
Cassandra like Riak is multi master which means your deployment strategy would be very different to MongoDB which is still effectively master/slave.
While you may disagree with this, there are many living examples.