question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Misleading latency output

See original GitHub issue

This tool outputs latency averages and stddev which makes a lot of people assume Normal distribution that latencies usually don’t have.

$ autocannon -c 1 -r 1 http://example.com
Running 10s test @ http://example.com
1 connections

Stat         Avg     Stdev  Max     
Latency (ms) 242.4   351.36 1296.58 
Req/Sec      1       0.45   2       
Bytes/Sec    1.57 kB 701 B  3.19 kB 

10 requests in 10s, 15.8 kB read

https://bravenewgeek.com/everything-you-know-about-latency-is-wrong https://www.elastic.co/blog/averages-can-dangerous-use-percentile

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mcollinacommented, Jun 25, 2018

If you can send me a PR, I’ll do a semver-major release asap.

2reactions
csabapalficommented, Jun 19, 2018

Can we use e.g. p50 (median) p99 and max instead or similar?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Everything You Know About Latency Is Wrong
Latency is defined as the time it took one operation to happen. This means every operation has its own latency—with one million operations ......
Read more >
Some latency measurement pitfalls - Dan Luu
Some latency measurement pitfalls | I'm trying some experimental tiers on Patreon to see if I can get to substack-like levels of financial...
Read more >
Traceroute Lies! A Typical Misinterpretation Of Output
Traceroute can points to a link having terrible latency, but despite what it appears, it's easy to misread the output and jump to...
Read more >
Why average latency is a terrible way to track website ...
Average latency can be a misleading way to monitor website performance. How do you know if your website is running slowly?
Read more >
Major DAWs reporting incorrect latency - Gearspace.com
Also there is only single value for input latency and single value for output latency, which is being reported by the driver for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found