Exponential Moving Averageとは何か?
Exponential moving average(EMA)は、固定の重み付け係数を使って各新しいサンプルを前の平均とブレンドすることで、時間の経過とともに値を追跡します。最近のサンプルがより重視されるため、平均はノイズをフィルタリングしながら変化に素早く反応します。前の平均と新しいサンプルだけを必要とするため、継続的な計算が安価です。
なぜ重要か
リクエストのlatencyのような生のメトリクスストリームはノイズが多く、固定ウィンドウでの単純な平均は遅延します。EMAはシグナルを平滑化しつつ最近のトレンドを反映するため、alertingやautoscalingの入力に適しています。
関連ガイド
What Is Percentile Latency?Percentile latency reports the response time below which a given share of requests fall, such as p50 or p99,…
What Is Tail Latency?Tail latency is the response time of the slowest requests, the high end of the distribution, which often domi…
What Is a Rate Limiting Header?A rate limiting header is an HTTP response header that tells a client its remaining request quota and when th…