Search code examples
databasemongodbreal-time

Mongodb > 10 million documents realtime data visualization


I'm building a telemetry app for my university's formula student car, and I need to visualize data in real time, this data is stored in a mongodb instance and is constantly being updated, at around 7000 documents per second it gets filled up pretty fast. The database usually contains about 50 million documents, so is it possible to visualize this data in realtime on a laptop? Or should I create another instance of mongodb and insert a document only every 100-500 milliseconds as to make queries faster?


Solution

  • Ended up using InfluxDB as my database because it's optimized for time series Data, combined with Grafana it is a great combination for displaying telemetry data at a high resolution.