Computer network
Average latency is the sum of immediate latency measured Y times every X seconds divided by Y. Average latency is used to estimate size of the buffer, mainly because it does not change so often. Buffer enables some applications such as stream videos to run smoothly even with high average latency, but it cannot protect us from high latency peaks.