Files
mtusi2026lab2/evidence/track1/summary.md
T
Mraksimus dc5abb6fff
Skeleton contracts / contracts (pull_request) Canceled after 0s
Completed for a grade of five
2026-10-09 11:50:01 +03:00

31 lines
2.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Track 1 summary
Generated by `python3 scripts/track1/aggregate.py`. Medians of the repeats, (min–max) in brackets.
## Cache stampede: FLUSHALL every second under 200 VUs
| Сессий | Сбросов кэша | Single-flight | Запросов к `sessions` | на один сброс | на сессию за сброс | Промахов Redis | Всего SQL | RPS | p50 / p95 / p99, мс | max, мс | Ошибки |
| ---: | ---: | --- | ---: | ---: | ---: | ---: | ---: | ---: | --- | ---: | ---: |
| 50 | 30 | нет | 4651 (4622–4689) | 155.0 (154.1–156.3) | 3.10 (3.08–3.13) | 4651 (4622–4689) | 492085 (491701–499302) | 16270 (16268–16512) | 11.2 / 22.9 / 31.6 | 86 (77–88) | 0 |
| 50 | 30 | да | 1451 (1450–1451) | 48.4 (48.3–48.4) | 0.97 (0.97–0.97) | 4653 (4390–4777) | 483729 (483387–487010) | 16106 (16096–16240) | 11.5 / 22.6 / 29.9 | 84 (72–123) | 0 |
| 10 | 30 | нет | 3138 (2893–3500) | 104.6 (96.4–116.7) | 10.46 (9.64–11.67) | 3138 (2893–3500) | 474008 (461790–485580) | 15719 (15322–16108) | 11.7 / 23.4 / 32.0 | 84 (83–132) | 0 |
| 10 | 30 | да | 291 (291–292) | 9.7 (9.7–9.7) | 0.97 (0.97–0.97) | 4037 (3979–4069) | 470144 (466783–474519) | 15719 (15564–15848) | 11.8 / 23.1 / 31.6 | 87 (75–133) | 0 |
| 50 | нет | нет | 0 | — | — | 0 | 477952 | 15966 | 11.5 / 23.3 / 32.1 | 86 | 0 |
| 50 | нет | да | 0 | — | — | 0 | 486664 | 16251 | 11.4 / 22.4 / 30.6 | 88 | 0 |
## Redis restart under 200 VUs, 50 sessions
| Single-flight | `docker compose restart redis`, с | Кэш недоступен по логу API, с | Запросов к `sessions` за прогон | p99 до рестарта, мс | p99 в секунду рестарта, мс | max в секунду рестарта, мс | Не 200 |
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
| нет | 0.52 (0.48–0.59) | 0.71 (0.65–0.83) | 5625 (4700–6284) | 36 (34–39) | 76 (68–163) | 133 (112–225) | 0 |
| да | 0.51 (0.47–0.57) | 0.73 (0.70–0.75) | 3490 (3106–3805) | 37 (35–40) | 71 (70–89) | 138 (129–153) | 0 |
## Read-after-write of login and logout, 16 concurrent readers
| Single-flight | Redis | Итераций | Первый запрос после входа не 200 | Запросов до ответа logout | Запросов после ответа logout | Из них 200 (нарушение) | Другие коды | Токен жив через 1 с |
| --- | --- | ---: | ---: | ---: | ---: | ---: | --- | ---: |
| нет | остановлен | 300 | 0 | 43034 | 362801 | 0 | нет | 0 |
| нет | работает | 300 | 0 | 42545 | 396511 | 0 | нет | 0 |
| да | остановлен | 300 | 0 | 42973 | 361654 | 0 | нет | 0 |
| да | работает | 300 | 0 | 42692 | 405818 | 0 | нет | 0 |