freifunk / vis.api.freifunk.net

Visualisation of Freifunk API data
GNU General Public License v3.0
3 stars 2 forks source link

Data-loading: Test time-series data #27

Closed extua closed 3 months ago

extua commented 3 months ago

Run through the process of adding JSON files and try to query, for example how many nodes in a given community between two dates.

extua commented 3 months ago

Tested this, it moves the timeseries bit to the top of the object, but, it works!

extua commented 3 months ago

it moves the timeseries bit to the top of the object

Best practices for time-series collections in the MongoDB docs, suggests

Using a consistent field order in your documents improves insert performance.