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
Sending unsorted tags to InfluxDB generates additional work, including allocating a new slice for each point that is parsed and subsequently sorting the tag key / values.
Benchmarks for parsing 5000 points with 10 sorted vs unsorted tags:
+1
We perform some filtering and routing of the line protocol data using regexp-based rules while en route to InfluxDB. Having a guaranteed ordering of the tags would make it much simpler and less costly to create rules based on multiple tags.
Edit: This would also make it a bit easier to debug the line protocol with shell tools as the columns would line up nicely for a specific measurement (provided that the set of tag keys is identical for each point).
Sending unsorted tags to InfluxDB generates additional work, including allocating a new slice for each point that is parsed and subsequently sorting the tag key / values.
Benchmarks for parsing 5000 points with 10 sorted vs unsorted tags:
The text was updated successfully, but these errors were encountered: