agentleFS
sakhujarohansakhujarohan/keel/skills/load-testing/SKILL.md

load-testing

Skill1 starsChanged 6 months agoMITView on GitHub

Use when load- or stress-testing a service, verifying behavior under concurrency, or chaos-testing failure modes — especially at the `production` rigor profile (Phase 6/7).

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use api-design and frontend-design.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    api-design

    Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.

    Also in 3 projects that use this

  • BlockSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

    Also in 3 projects that use this

The file

Files
SKILL.md

Load & Chaos Testing

Validate a service under realistic and adverse conditions. Pairs with the production profile (profiles/production.md).

When

  • Verifying performance against the Performance Targets in requirements.md (p50/p99 latency, throughput, error rate).
  • Proving correctness under concurrency — the race the LLD's concurrency notes claim to handle.
  • Chaos: behavior when a dependency is slow, down, or returning errors.

Approach

  1. Load test — drive realistic traffic (e.g. Locust): ramp users, hold, measure. Record p50/p99 latency, throughput, and error rate against the targets.
  2. Concurrency / race test — fire N concurrent requests at the contended resource; assert the invariant holds (e.g. exactly one winner). This is the test that proves the design's concurrency claim, not just its speed.
  3. Chaos — inject failure on a dependency (timeout, kill, 5xx); assert graceful degradation, that retries/timeouts/circuit-breakers behave, and that nothing is corrupted.

Metrics to watch

MetricWhat it tells you
p50 / p99 latencytypical and tail responsiveness
throughput (req/s)capacity
error rate under loadwhere it starts to break
invariant under concurrencycorrectness, not just speed

Output

Record results in the run's Traceability & Validation Ledger and fill the Performance Targets "Achieved" column in requirements.md. A target with no measured "Achieved" is not validated.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.