# Nordwace Systems field kit

This kit accompanies the Nordwace Systems application operations guides at https://nordwace.com/library/.

## Analyze the sample request events

Place the Python file and the sample JSONL file in one directory. Open a terminal there and run with Python 3.9 or later:

    python analyze-events.py request-events.sample.jsonl

Expected output:

    order-api GET /orders/{id}: 2 requests, 0 server errors (0.0%), p95 42 ms
    order-api POST /orders: 5 requests, 1 server error (20.0%), p95 280 ms

The sample events are synthetic. The analyzer reads a UTF-8 file with one JSON object per nonblank line. It needs the service name, normalized route, integer HTTP status and nonnegative duration_ms. Extra fields are ignored. It prints groups by service and route, flags 5xx responses, and uses the nearest-rank p95. It keeps durations in memory, so use it on small exports of approved events. It prints to the terminal and makes no network requests.

## Reproduce the sample capacity estimates

Open capacity-planning.sample.csv in a spreadsheet editor. Each row is a separate synthetic scenario. Multiply peak_rps by (1 + headroom_percent / 100) for planned_rps. Divide planned_rps by tested_safe_rps_per_replica and round up for required_replicas. Compare that result with available_replicas. Replace sample values with your own workload measurements and verify the full scenario in a controlled test.

## Rehearse a release or incident

Use release-decision.md to define the cohort comparison, recovery checks and decision owner. Use incident-handoff.md to track a live exercise and transfer ownership to a second responder. Discuss the point at which the incoming coordinator would next stop, continue or escalate.
