You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2022/06/01 12:05:14 UTC

[GitHub] [incubator-pegasus] empiredan opened a new issue, #991: Feature(new_metrics): implement the percentile

empiredan opened a new issue, #991:
URL: https://github.com/apache/incubator-pegasus/issues/991

   The percentile is a metric type that samples observations as is described in https://github.com/apache/incubator-pegasus/issues/922. The size of samples has an upper bound. Once the maximum size is reached, the earliest observations will be overwritten.
   
   On the other hand, `kth` percentiles, such as P50, P90, P95, P99, P999, will be calculated periodically over all samples. The `kth` percentiles which are calculated are configurable provided that they are of valid `kth_percentile_type` (i.e. in `kAllKthPercentileTypes`).
   
   The most common usage of percentile is latency, such as server-level and replica-level latencies. For example, if P99 latency is 10 ms, it means the latencies of 99% requests are less than 10 ms.
   
   The percentile is implemented by the finder for nth elements. Each `kth` percentile is firstly converted to nth index; then, find the element corresponding to the nth index.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


[GitHub] [incubator-pegasus] empiredan closed issue #991: Feature(new_metrics): implement the percentile

Posted by GitBox <gi...@apache.org>.
empiredan closed issue #991: Feature(new_metrics): implement the percentile
URL: https://github.com/apache/incubator-pegasus/issues/991


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org