Files

83 lines
3.5 KiB
Markdown
Raw Permalink 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.
# Фактические результаты
## Загрузка: 10 клиентов одновременно
| Байт | Успех / ошибки | Время, с | RPS | p50, с | p95/p99, с | Наблюдаемый максимум RAM, MiB | Cgroup peak за жизнь API, MiB |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 787247 | 10 / 0 | 4.349 | 2.30 | 0.939 | 1.552 | 79.20 | 148.36 |
| 3147775 | 10 / 0 | 4.808 | 2.08 | 1.516 | 1.895 | 101.30 | 148.36 |
Профиль: одна волна на размер, без повторов HTTP. Docker stats опрашивается параллельно; время ожидания мониторинга исключено из RPS. p95 и p99 при n=10 совпадают с максимумом (nearest rank). Cgroup peak включает прогрев и все предыдущие запросы процесса; это верхняя граница памяти волны, а не её изолированный расход.
## Reconciler: внедрённые orphan и missing
| Режим | Объекты | Метаданные ready | LIST | HEAD | Удалено | Помечено missing | Время, с |
| --- | --- | --- | --- | --- | --- | --- | --- |
| dry_run | 54 | 53 | 1 | 44 | 0 | 0 | 0.811 |
| apply | 54 | 53 | 1 | 49 | 1 | 1 | 0.861 |
| repeat | 53 | 52 | 1 | 52 | 0 | 0 | 1.316 |
## Стоимость обхода: три повтора на размер
| Дополнительные объекты | Всего объектов | LIST | HEAD | Медиана, с | Минимум / максимум, с |
| --- | --- | --- | --- | --- | --- |
| 10 | 63 | 1 | 1 | 0.998 | 0.554 / 2.476 |
| 100 | 153 | 1 | 1 | 0.839 | 0.808 / 0.880 |
Сбой INSERT после успешного PUT: число объектов до и после компенсации — 53 и 53. Старое вложение, используемое сообщением, сохранено; SHA-256/байты и ссылка сообщения проверены.
## Проверки
### contract.txt
```text
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
```
### smoke.txt
```text
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
```
### acceptance.txt
```text
PASS: negative images, ACL, private S3, interrupted upload, concurrent uploads, reconciliation, S3 outage
```
### consistency.txt
```text
PASS: failure after S3 PUT compensates, old used attachment survives, scan cost measured twice with three repeats
```
### persistence.txt
```text
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
```
### failover-1.txt
```text
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 96, "failed_attempts": 6, "first_recovery_seconds": 4.274}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
```
### failover-2.txt
```text
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 99, "failed_attempts": 3, "first_recovery_seconds": 3.328}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
```
### smoke-final.txt
```text
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
```