ЛР 2: исследовать и ограничить cache stampede — на 5
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Provenance and diagnostic attempts
|
||||
|
||||
The primary comparison uses **raw/baseline/** and **raw/candidate/** only.
|
||||
The primary baseline was completed before any application algorithm change.
|
||||
`baseline-source.json` + `baseline-source.zip` preserve the initial tree (HEAD
|
||||
b5b35682c25e99f774596a809a11d2be2aaf83d8, original REPORT edit already present).
|
||||
`final-source.json` and raw/candidate/meta.json identify the final measured candidate.
|
||||
Per-source hashes in measured images are checked against the final working tree.
|
||||
|
||||
Excluded observations are preserved, never silently called successful repeats:
|
||||
|
||||
- baseline-pilot: 96 HTTP requests, load and duration pilot, outside main aggregates.
|
||||
- baseline-failed-attempt-1: partial series stopped by Windows bind-mount
|
||||
OSError errno22 while rewriting bursts.json; see failure.json/stdout. Requests.csv
|
||||
may include the last wave for which SQL deltas were not saved. No completed
|
||||
metadata. Entire series repeated using /tmp in container + docker cp afterward.
|
||||
- candidate-pilot: 96 HTTP requests on initial implementation, outside aggregates.
|
||||
- candidate-before-text-fix: completed 4608 requests, initial implementation with
|
||||
accidental mojibake in some Russian error messages caused by Windows Python's
|
||||
default read_text encoding. This does not exercise the changed error strings
|
||||
in GET me, but this image is nevertheless NOT the delivered candidate. Text was
|
||||
restored from original baseline; whole candidate benchmark, public/grade4 and
|
||||
additional integration checks were repeated on the final image. The initial
|
||||
candidate observations remain historical and are excluded from comparisons.
|
||||
|
||||
Resource samples are diagnostic only: baseline-resources-sample.jsonl was sampled
|
||||
in the interrupted baseline attempt; candidate-resources-sample.jsonl in the
|
||||
initial candidate (before text fix). They are NOT synchronized CPU averages/peaks,
|
||||
NOT the final pair, and do not support a CPU/RAM improvement claim. Budgets and
|
||||
measured image resource limits are recorded separately. No before/after CPU cost
|
||||
measurement was made. Final CPU overhead and peak memory remain unquantified.
|
||||
|
||||
Benchmark phases use exactly the same HTTP generator, plan and PG counters.
|
||||
Only raw persistence was moved from a Windows bind mount into container /tmp.
|
||||
Driver UTF-8 BOM normalization does not change executable code; no source delay,
|
||||
HTTP barrier hook or metrics endpoint was inserted into API. The observer role
|
||||
owns counter inspection and explicit users-table locks; app-role SQL excludes
|
||||
these observer statements. Ordinary API healthcheck SQL is included and classified.
|
||||
|
||||
Experiment figures and median/min/max tables are generated only by aggregate.py.
|
||||
Per-request 4xx/5xx/timeouts and per-statement SQL deltas stay in raw files.
|
||||
The date in meta.json's historical `started_utc` field was recorded at completion;
|
||||
interpret it as completion UTC, not as exact start time; subtract wall_s only for
|
||||
an approximation. Host file timestamps and build/run logs add chronology.
|
||||
|
||||
The original grade4 evidence files are unchanged and retain historical statuses,
|
||||
image tags and Git instructions. The current report supersedes those old statuses.
|
||||
Reference in New Issue
Block a user