forked from mtusi2026/mtusi2026lab5
Очереди и асинхронная обработка изображений, трек 1
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
alice_id=6d5c6bbb-5a2b-4dab-8fc2-fa8b9e27b008
|
||||
bob_id=b3cfb9d5-4dfa-4292-8c7d-c26859ddbfd1
|
||||
chat_id=6ac76405-530d-4380-963a-a3f9e5e41038
|
||||
att_id=60a44fbb-ecd3-40ba-89c3-890d03d51ddb
|
||||
message_id=1dfa07c6-ce12-446f-bd32-161b555eb4d1
|
||||
other_message_id=6da484cc-c0fb-403c-b144-29e64d1c95d1
|
||||
upload_status=202
|
||||
content_status=409
|
||||
final_status=ready
|
||||
@@ -0,0 +1,5 @@
|
||||
# Доказательства
|
||||
|
||||
Храните небольшие обезличенные результаты: команды и stdout проверок, JSON/CSV агрегатов нагрузки, EXPLAIN, dashboard JSON, текст разбора отказа. Укажите дату, commit, аппаратные лимиты и профиль нагрузки.
|
||||
|
||||
Не добавляйте .env, session tokens, cookies, приватные ключи, credentials, реальные сообщения, raw dumps и signed URLs. Для скриншотов скрывайте секреты. Большие логи/бинарные traces сохраняйте отдельно по правилам преподавателя; одного скриншота без методики недостаточно.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 109 KiB |
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"prefetch": 1,
|
||||
"size": "large",
|
||||
"files_requested": 15,
|
||||
"files_ok": 15,
|
||||
"files_failed": 0,
|
||||
"duration_s": 11.002,
|
||||
"throughput_files_per_s": 1.363,
|
||||
"queue_lag_s": {
|
||||
"p50": 4.142,
|
||||
"p95": 7.278,
|
||||
"p99": 7.278
|
||||
},
|
||||
"time_to_ready_s": {
|
||||
"p50": 4.542,
|
||||
"p95": 7.93,
|
||||
"p99": 7.93
|
||||
},
|
||||
"worker_rss_mib": 97.5
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"prefetch": 1,
|
||||
"size": "medium",
|
||||
"files_requested": 30,
|
||||
"files_ok": 30,
|
||||
"files_failed": 0,
|
||||
"duration_s": 5.979,
|
||||
"throughput_files_per_s": 5.018,
|
||||
"queue_lag_s": {
|
||||
"p50": 2.714,
|
||||
"p95": 3.044,
|
||||
"p99": 3.074
|
||||
},
|
||||
"time_to_ready_s": {
|
||||
"p50": 2.751,
|
||||
"p95": 3.083,
|
||||
"p99": 3.263
|
||||
},
|
||||
"worker_rss_mib": 50.6
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"prefetch": 1,
|
||||
"size": "small",
|
||||
"files_requested": 50,
|
||||
"files_ok": 50,
|
||||
"files_failed": 0,
|
||||
"duration_s": 8.998,
|
||||
"throughput_files_per_s": 5.557,
|
||||
"queue_lag_s": {
|
||||
"p50": 3.264,
|
||||
"p95": 5.788,
|
||||
"p99": 5.819
|
||||
},
|
||||
"time_to_ready_s": {
|
||||
"p50": 3.264,
|
||||
"p95": 5.819,
|
||||
"p99": 5.856
|
||||
},
|
||||
"worker_rss_mib": 37.9
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"prefetch": 20,
|
||||
"size": "large",
|
||||
"files_requested": 15,
|
||||
"files_ok": 0,
|
||||
"files_failed": 15,
|
||||
"duration_s": 602.704,
|
||||
"throughput_files_per_s": 0.0,
|
||||
"queue_lag_s": {
|
||||
"p50": 2.365,
|
||||
"p95": 2.506,
|
||||
"p99": 2.506
|
||||
},
|
||||
"time_to_ready_s": {
|
||||
"p50": null,
|
||||
"p95": null,
|
||||
"p99": null
|
||||
},
|
||||
"worker_rss_mib": 0.0
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"prefetch": 20,
|
||||
"size": "medium",
|
||||
"files_requested": 30,
|
||||
"files_ok": 30,
|
||||
"files_failed": 0,
|
||||
"duration_s": 6.129,
|
||||
"throughput_files_per_s": 4.894,
|
||||
"queue_lag_s": {
|
||||
"p50": 2.677,
|
||||
"p95": 2.949,
|
||||
"p99": 2.966
|
||||
},
|
||||
"time_to_ready_s": {
|
||||
"p50": 2.738,
|
||||
"p95": 3.431,
|
||||
"p99": 3.435
|
||||
},
|
||||
"worker_rss_mib": 112.6
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"prefetch": 20,
|
||||
"size": "small",
|
||||
"files_requested": 50,
|
||||
"files_ok": 50,
|
||||
"files_failed": 0,
|
||||
"duration_s": 8.563,
|
||||
"throughput_files_per_s": 5.839,
|
||||
"queue_lag_s": {
|
||||
"p50": 3.35,
|
||||
"p95": 5.352,
|
||||
"p99": 5.383
|
||||
},
|
||||
"time_to_ready_s": {
|
||||
"p50": 3.369,
|
||||
"p95": 5.392,
|
||||
"p99": 5.464
|
||||
},
|
||||
"worker_rss_mib": 42.5
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"prefetch": 5,
|
||||
"size": "large",
|
||||
"files_requested": 15,
|
||||
"files_ok": 15,
|
||||
"files_failed": 0,
|
||||
"duration_s": 18.041,
|
||||
"throughput_files_per_s": 0.831,
|
||||
"queue_lag_s": {
|
||||
"p50": 5.991,
|
||||
"p95": 11.221,
|
||||
"p99": 11.221
|
||||
},
|
||||
"time_to_ready_s": {
|
||||
"p50": 10.316,
|
||||
"p95": 14.838,
|
||||
"p99": 14.838
|
||||
},
|
||||
"worker_rss_mib": 511.7
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"prefetch": 5,
|
||||
"size": "medium",
|
||||
"files_requested": 30,
|
||||
"files_ok": 30,
|
||||
"files_failed": 0,
|
||||
"duration_s": 6.309,
|
||||
"throughput_files_per_s": 4.755,
|
||||
"queue_lag_s": {
|
||||
"p50": 2.789,
|
||||
"p95": 3.297,
|
||||
"p99": 3.306
|
||||
},
|
||||
"time_to_ready_s": {
|
||||
"p50": 2.789,
|
||||
"p95": 3.524,
|
||||
"p99": 3.533
|
||||
},
|
||||
"worker_rss_mib": 114.0
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"prefetch": 5,
|
||||
"size": "small",
|
||||
"files_requested": 50,
|
||||
"files_ok": 50,
|
||||
"files_failed": 0,
|
||||
"duration_s": 8.361,
|
||||
"throughput_files_per_s": 5.98,
|
||||
"queue_lag_s": {
|
||||
"p50": 3.408,
|
||||
"p95": 5.04,
|
||||
"p99": 5.06
|
||||
},
|
||||
"time_to_ready_s": {
|
||||
"p50": 3.408,
|
||||
"p95": 5.213,
|
||||
"p99": 5.237
|
||||
},
|
||||
"worker_rss_mib": 43.8
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"files": 100,
|
||||
"finished": 100,
|
||||
"pending_after_timeout": 0,
|
||||
"recovery_time_s": 22.749
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
att_id=559d9cab-90a0-4baf-b36f-355ad93ffae2
|
||||
chat_id=ce16016a-c647-4d87-8697-1061f25ff47c
|
||||
replay_ready_status=409
|
||||
status_after_simulated_failure=failed/simulated_failure
|
||||
replay_status=202
|
||||
final_status=ready
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
@@ -0,0 +1,11 @@
|
||||
============================= test session starts =============================
|
||||
platform win32 -- Python 3.13.15, pytest-8.3.5, pluggy-1.6.0 -- C:\Users\maris\PythonProjects\mtusi2026lab1-fork\venv\Scripts\python.exe
|
||||
cachedir: .pytest_cache
|
||||
rootdir: C:\Users\maris\PythonProjects\mtusi2026lab5
|
||||
plugins: anyio-4.15.1, asyncio-0.25.3
|
||||
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None
|
||||
collecting ... collected 1 item
|
||||
|
||||
student-tests/test_worker_crash.py::test_worker_recovers_after_ack_lost PASSED [100%]
|
||||
|
||||
============================== 1 passed in 6.54s ==============================
|
||||
Reference in New Issue
Block a user