Open AlmogBaku opened 2 years ago
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
Background
Some aggregations require computing values against the raw data. Since Raptor is designed as "production first", saving the raw data on the state then calculating is expensive and requires an intensive calculation.
That includes:
What do you propose to do?
Distinct count
Implement HyperLogLog - redis already support this out of the box
Percentile
We can use uddsketch or t-digest https://docs.timescale.com/timescaledb/latest/how-to-guides/hyperfunctions/percentile-approx/advanced-agg/#percentile-approximation-advanced-aggregation-methods https://github.com/influxdata/tdigest
What have you already tried?
No response
What else should we know?
No response