juttle / juttle-opentsdb-adapter

Apache License 2.0
1 stars 2 forks source link

Optimize `reduce` #20

Open dmehra opened 8 years ago

dmehra commented 8 years ago

Add optimization for read opentsdb ... | reduce, including:

Or whatever OpenTSDB will permit us to optimize in reduce. Looks like their 'aggregators' should handle our standard reducers, the by-grouping comes native (and would need to be disabled if we're not doing reduce by?), and reduce -every is their 'downsampler'.

demmer commented 8 years ago

reduce count(), count_unique()

These feel like strange optimizations to actually care about in a timeseries database.

dmehra commented 8 years ago

The count thing is handy for debugging ingest path. On count_unique agreed, not useful.