Mean Of The Nines
A load generator runs 16 worker threads and reports the fleet's tail latency like this:
per_thread_p99 = []
for t in threads: # 16 threads
per_thread_p99.append(percentile(t.samples, 99))
print("fleet p99 =", sum(per_thread_p99) / len(per_thread_p99))
The benchmark reports a p99 of 84 ms. Production, on the same build and the same load, shows a p99 of 310 ms. What is wrong with the benchmark?
Sign in to answer questions and track your progress
Sign In