p99-p95

์ •์˜

... latencies are both measures of the performance of a system They are both percentiles, which means that they represent the percentage of requests that take less time than the specified latency

  • ์‹œ์Šคํ…œ์˜ ์„ฑ๋Šฅ์„ ๋‚˜ํƒ€๋‚ด๋Š” latency ์ง€ํ‘œ

  • ์˜ˆ๋ฅผ ๋“ค๋ฉด p99์˜ ๊ฒฝ์šฐ 99% ์š”์ฒญ์ด, ํ•ด๋‹น ์‹œ๊ฐ„๋ณด๋‹ค ์งฆ์€ latency ๊ฐ€์ง€๊ณ  ์žˆ๋‹ค.

    • ์ฆ‰ 1% ์š”์ฒญ์ด ํ•ด๋‹น latency ๋ณด๋‹ค ์˜ค๋ž˜ ๊ฑธ๋ฆฐ๋‹ค.

ํŠน์ง•

  • P95๊ฐ€ P99๋ณด๋‹ค ์‹œ์Šคํ…œ ์„ฑ๋Šฅ์„ ์ธก์ •ํ•˜๋Š”๋ฐ ์ผ๋ฐ˜์ ์œผ๋กœ ๋” ์œ ๋ฆฌํ•˜๋‹ค๊ณ  ๋ด„

    • ์™œ? P99์˜ ๊ฒฝ์šฐ outlier ๊ฐ€ ์žˆ์„ ์ˆ˜ ์žˆ์Œ

    • ์ฆ‰ ์‹œ์Šคํ…œ ์˜ํ–ฅ์ด ์•„๋‹Œ ๋‹ค๋ฅธ ์ด์œ ์—์„œ ํ˜ผ์ž ํŠ€๋Š” ์ง€ํ‘œ๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ์„ ํ™•๋ฅ ์ด ๋†’๊ธฐ ๋•Œ๋ฌธ์ด๋ผ ์ดํ•ด๋จ.

์˜ˆ์‹œ

p99 1.403

  • 99%์˜ request๊ฐ€ 1.403์ดˆ ๋ณด๋‹ค ๋œ ๊ฑธ๋ฆฐ๋‹ค.

  • 1% request ๊ฐ€ 1.403์ดˆ ๋ณด๋‹ค ๋” ๊ฑธ๋ฆฐ๋‹ค.


์ฐธ๊ณ 

  • https://docs.aws.amazon.com/ko_kr/elasticbeanstalk/latest/dg/health-enhanced-metrics.html

  • https://github.com/artilleryio/artillery/issues/761

Last updated