You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auxiliary data such as connection statistics (and in future battery state #35) are needed for debugging and monitoring purposes and would rarely be queried together with the rest of the data.
Current state
All data is stored in sensor_data column and is processed for every query. See Related issue in aerosense-tools.
The text was updated successfully, but these errors were encountered:
This is almost certainly better dealt with by partitioning and/or clustering, since it's currently all wired up already as receipt of raw data (there's nothing inherently special compared to any other type of data, if we were to accept this pattern, we should simply do this for every different kind, which we avoid in order to allow the data to evolve)
@thclark Allow me to partially disagree. This data (connection stats and battery info) has entirely different purpose from the rest (measurements of direct interest), and thus different use and hence different lifecycle. Just a quick examples:
Almost no-one from outside of aerosense would be interested in this data.
This data is never queried together /compared to other data
Primary possible use is in system supervisory monitoring (i.e.) sending it to the dashboard (so #of requests is higher than for other "sensors") and maybe debugging/system development (?)
From another side, I see your point as the total amount of this type of data per day is very little:
10 bytes per sample * 22.(2) samples per second * 86400 seconds in day ~ 20 Mb (60Mb if we have 3 nodes)
And in terms of dashboard development I imagine it will rely more and more on data from post-processed tables rather than the raw data table.. so it might be worth just splitting it from the rest at post-process stage.
Lets put it as "won't fix" for now and close it later?
Feature request
Use Case
Auxiliary data such as connection statistics (and in future battery state #35) are needed for debugging and monitoring purposes and would rarely be queried together with the rest of the data.
Current state
All data is stored in sensor_data column and is processed for every query. See Related issue in aerosense-tools.
The text was updated successfully, but these errors were encountered: