tl;dr<p>- MongoDB good for some things, but not time-series data<p>- In fact TimescaleDB sees 20% higher inserts, up to 1400x faster queries, and a much simpler query language (read: SQL)<p>- But if you still want to store time-series data in MongoDB, this post presents two different ways of doing so, with trade-offs