Arkoprovo Sircar
01/27/2025, 6:48 PMQuantile Digest Algorithm
PERCENTILEEST(request_metadata.response.elapsed_time,50) AS MedianLatency,
PERCENTILEEST(request_metadata.response.elapsed_time,95) AS P95Latency,
or
T-Digest Algorithm
PERCENTILETDIGEST(request_metadata.response.elapsed_time,50,1000) AS MedianLatency,
PERCENTILETDIGEST(request_metadata.response.elapsed_time,95,1000) AS P95Latency,
Closest to real value is absolute priority since this is API usage metrics dashboard.
I notice PERCENTILETDIGEST is giving closer values for Median latency
but for P95 latency both give similar.
which Percentile function will perform best in millions of rows of dataset and realtime stream ingestion scenario?
Please help me suggest this.Mayank
Arkoprovo Sircar
01/27/2025, 7:42 PM