ЛР5 БВТ2304 Запорожец на 5

RabbitMQ (quorum queue, publisher confirms, manual ack, DLX) + отдельный worker:
staging в S3 + вложение/job/outbox одной транзакцией -> 202 queued; relay outbox,
lease с heartbeat и fencing (worker_id, attempt), retry с backoff+jitter, failed-реестр,
безопасный replay с audit; thumbnail/crop/WebP в изолированном процессе с лимитами.
Тесты окон отказа (fault injection), трек 1 «Очередь под перегрузкой» с backpressure.
Перенесено исправление замечания lab3 PR #99 (U+0000 в тексте).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 18:33:52 +03:00
co-authored by Claude Opus 5.5
parent 276dbdad8a
commit 0a221b0675
100 changed files with 12431 additions and 17 deletions
+38
View File
@@ -0,0 +1,38 @@
# Полный lock (pip freeze в python:3.12.12-slim-bookworm); устанавливается с --no-deps.
# Прямые зависимости: fastapi, uvicorn, asyncpg, argon2-cffi, redis (клиент совместим с Valkey),
# lab4: minio (S3-клиент, работает с RustFS), pillow (проверка и обработка PNG/JPEG),
# lab5: aio-pika (RabbitMQ: publisher confirms, manual ack), jsonschema (проверка job по contracts/jobs.schema.json).
aio-pika==9.5.7
aiormq==6.9.4
annotated-types==0.8.0
anyio==4.15.1
argon2-cffi==23.1.0
argon2-cffi-bindings==26.1.0
asyncpg==0.30.0
attrs==26.1.0
certifi==2026.10.23
cffi==2.1.1
click==8.5.0
fastapi==0.115.12
h11==0.16.0
idna==3.20
jsonschema==4.25.1
jsonschema-specifications==2025.9.1
minio==7.2.18
multidict==7.2.1
pamqp==3.3.0
pillow==11.3.0
propcache==0.5.4
pycparser==3.12
pycryptodome==4.4.0
pydantic==2.14.1
pydantic_core==2.50.1
redis==5.2.1
referencing==0.37.0
rpds-py==2026.9.1
starlette==0.46.2
typing-inspection==0.4.4
typing_extensions==4.16.0
urllib3==2.8.0
uvicorn==0.34.2
yarl==1.25.1