Manoj Perla.ENGINEERING NOTES & OPEN SOURCE
← All exploration notes

From performance measurements to useful decisions

Connect a slow response to its workload, environment, and distribution before deciding what to change.

Define a comparable run

A performance result needs context: application revision, endpoint, data volume, arrival rate, duration, environment, and error rate. Keep these conditions stable when comparing changes. Separate warm-up from the measured interval and record cache behavior. A faster average from a lighter workload is not evidence of an improvement.

Read the distribution with the failures

Look at throughput and latency percentiles together. A stable median can conceal a deteriorating slow tail. A falling response time can also be misleading if requests fail quickly. Compare successful and failed requests, inspect sample counts, and avoid drawing strong conclusions from a handful of observations. A percentile is an observation about a particular workload, not a universal service guarantee.

Explore with LoadHarbor

LoadHarbor provides a controlled demo API, Gatling load profiles, native assertions, and Prometheus metrics displayed in Grafana. Begin with smoke to verify the path, then baseline for a longer observation. Change one input at a time. Grafana’s histogram percentiles are estimates; use Gatling’s report and assertions for the framework’s pass/fail result.

Use a review sequence

When a regression appears, confirm comparable conditions, identify affected endpoints, inspect errors and resource metrics, then reproduce the change. Browser network observations can suggest a candidate problem, but controlled load tests are needed to investigate behavior under sustained traffic. The next useful experiment is a repeatable comparison, not simply a larger dashboard.

Why P90 Tells You More Than Average API Response Time

Mean API latency often hides slow-user experiences. Percentiles such as P90 provide a clearer view of performance distribution and regression.

Read essay →