2 ms·
A friend of mine came up with the perfect use-case for MongoDB. His company installs and monitors sensors in civic infrastructure: roads, train tracks, bridges
by bostik 12y ago
A friend of mine came up with the perfect use-case for MongoDB.
His company installs and monitors sensors in civic infrastructure: roads, train tracks, bridges, ... These sensors provide constant data streams which need to be stored somewhere before processing. Any raw data older than 2 weeks is worthless, and if 2-3% of data is lost before written it's not much of a problem. More data is coming in all the time any way.
For them MongoDB is the perfect transient cache. Sensor data is processed and the results stored elsewhere. Easy to expand. Flipping between installations is just a matter of toggling load balancer, an once an offline cache has been processed, it can be nuked and put back as a fresh system.
So, for a setup where easy size expansion, fast mostly-reliable writes and ease of use are the primary design constraints, mongo fits in suprisingly well. It's a fascinating use-case.
- Argorak 12y agoFrom what that sounds like, I agree. This is a complex problem description with a pointer where the database provides solutions.