SShortSingh.
Back to feed

Why a p99 latency figure needs a sample budget to be meaningful

0
·3 views

A dashboard showing a 410 ms p99 from 200 requests can mislead if its statistical reliability is ignored. The author argues that the question driving the decision matters, since estimating the share of requests over a fixed 500 ms threshold requires different uncertainty handling than estimating the latency at the 99th percentile. Under an illustrative independence model, 200 requests yield about two expected breaches with roughly 0.70 percentage points of variability, while 10,000 requests shrink that spread to about 0.10 points. The piece cautions that normal-based intervals perform poorly with very few tail observations, and that histogram bucket boundaries, bursts and closed-loop load generators can also distort results. It recommends reporting breach counts and totals alongside the p99, and sometimes showing raw tail observations directly.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

OpenAI's OpenWorks pilot pays US local experts to coach small businesses on AI

OpenAI launched OpenWorks, a US-only pilot on 23 November 2026, that funds local AI experts to work in person with independently owned small businesses at no cost to the firms. Partners are contractors who may earn up to $8,000 a month, a ceiling rather than a guaranteed payment, and must spend at least four full days a month with local businesses. Participating businesses also receive three months of ChatGPT Business free, and the pilot covers 20 US communities. OpenAI has announced no plans to expand the program to India or other countries. The company's published case studies report owner-estimated results that have not been independently verified.

0
ProgrammingDEV Community ·

Guide Shows How to Run a WireGuard VPN Server with WG-Easy on a Contabo VPS

A DEV Community tutorial explains how to set up a private VPN using the WireGuard protocol and the WG-Easy web dashboard on a Contabo cloud server. It argues that commercial VPNs can suffer from shared-IP CAPTCHA blocks, peak-hour slowdowns, and trust concerns over logging. The guide walks through installing Docker, enabling IP forwarding, configuring the container and firewall rules, and generating client configurations. It also claims WireGuard offers faster handshakes and better battery efficiency on mobile devices than OpenVPN. The author concludes that self-hosting can offer a private alternative to paid commercial VPN services.

0
ProgrammingDEV Community ·

Debugging Duplicate and Missing Cron Runs Across a DST Transition

A daily report scheduled for 02:30 Europe/Berlin is ambiguous on 25 October 2026, when that local time occurs at both 00:30 and 01:30 UTC. The article argues that the correct behavior depends on a scheduling contract, such as running once per local business date or once per real UTC instant, and that jobs on the same machine may follow different rules. It recommends keying business operations on job name and intended local date, avoiding recomputing slots from the worker's clock on retries, and recording delivery attempts separately from completed operations. It also suggests testing fixtures for both ambiguous instants, a normal summer date, and delayed redeliveries, then comparing expected slots against completed operations and delivery history. Because scheduler policies vary, the author advises validating the actual schedule and dispatch records alongside application-level tests.

0
ProgrammingDEV Community ·

Benchmark Rankings Can Flip Depending on Task Mix, Study Shows

A benchmark's winner can change without either model changing, depending on how tasks are grouped and weighted. The article uses constructed figures: two systems tested on ten edit tasks and ten refactors, where one leads on edits and the other on refactors. Weighting edits at 75% of a workload favors the first system, while a 25% edit weighting reverses the outcome. The author recommends fixing task definitions, scoring rules, and missing-case handling before running tests, and reporting results per stratum. Paired analysis on shared task IDs is advised for judging whether performance differences are meaningful.