36 ms·
I'm not sure what's the point comparing benchmarks this way. Choosing a database is not only about performance, it's about the type of application you are buil
by pothibo 14y ago
I'm not sure what's the point comparing benchmarks this way.
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.
- abolibibelot 14y agoI'm not sure switching to a document model with multiple indexes (MongoDB) to a key/value store (Redis) is something that can be done easily "later on".
- pothibo 14y agoWell structure evolves over time. Probably the structure would move and you would use redis as a memcache layer (to update counts, notifications, etc). What I'm saying is that databases needs evolves over time. Comparing in-memory storage with SQL and NoSQL isn't a useful and misses the point.
- ihsw 14y agoRedis is far more than a simple KV store.
- taligent 14y agoThis is terrible advice on how to build an application. 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.
- pothibo 14y agoFacebook completely changed their database infrastructure a few times since its beginning. So has Twitter, Google, Foursquare and many others. While you may disagree with this, there are many living examples.