Hacker News new | ask | show | jobs
by threeseed 2118 days ago
MongoDB is the fastest and easiest to scale schema-on-read document store.

So if your domain model is document orientated e.g. a star schema with dozens of joins, where you don't know the schema upfront or you have polymorphic relationships it is a really useful way to store your data.

2 comments

I would also add that the replica set concept that is based on Raft [0] allows for built-in high availability, so the individual servers can be maintained while the whole set is running and servicing clients.

[0] https://en.wikipedia.org/wiki/Raft_(computer_science)

Hm, my impression was always that if I have such data I didn't really understand my data yet. What's a concrete prime example for using MongoDB?
That's actually kind of the point – if you're working on a new project whose requirements might change rapidly Mongo can be a really great fit (eg a toy project; a prototype for a new internal service; a hackathon; a pre-traction startup).