4 ms·
Mongodb sounds like a disaster for IoT backend. Sorry for hatred but just can't see that scaling well.
by dev360 11y ago
Mongodb sounds like a disaster for IoT backend. Sorry for hatred but just can't see that scaling well.
- mring33621 11y agoIt's IoT Scale!
- progrocks9 11y agoWhy is that bad? Mongodb is great for data ingestion.
- abrookewood 11y agoMongoDB has a reputation for losing data. I'll try to find the reference. EDIT: http://www.mongodb-is-web-scale.com/ http://www.mongodb-is-web-scale.com/ https://aphyr.com/posts/322-call-me-maybe-mongodb-stale-reads https://aphyr.com/posts/322-call-me-maybe-mongodb-stale-read...
- progrocks9 11y agoIn some IoT scenarios you could afford losing a little bit of data. For instance this component does it with MongoDB https://github.com/telefonicaid/fiware-orion https://github.com/telefonicaid/fiware-orion
- dev360 11y agoIt kind of sucks especially for that since it forces you to do offline compaction which is hell on earth. I cant imagine they have fixed that, but it was a MAJOR ops headache because it would NEVER finish. Never again mongo for anything with lots of writes.
- andreareginato 11y agoMongodb is used in a small section of the project and it's not used to store data. In that case I would use Cassandra, together with Spark.