complete lab5

This commit is contained in:
2026-11-06 21:09:25 +03:00
parent 276dbdad8a
commit 60c05161b6
34 changed files with 1236 additions and 22 deletions
+11
View File
@@ -0,0 +1,11 @@
{
"queue_limit": 1,
"worker_stopped": true,
"first_upload_status": 202,
"next_upload_status": 503,
"accepted_attachment_id": "073249d4-0172-418b-a718-86ee4f65aa53",
"final_status": "ready",
"original_sha256_matches": true,
"recovery_seconds": 4.03,
"note": "503 admission refusal leaves the already accepted job intact."
}
+9
View File
@@ -0,0 +1,9 @@
{
"attachment_id": "68d793f7-89da-45ca-8339-28405b55c045",
"status_before_broker_restart": "queued",
"stream_length_before_restart": 59,
"stream_length_after_restart": 59,
"final_status": "ready",
"original_sha256_matches": true,
"result": "PASS"
}
+15
View File
@@ -0,0 +1,15 @@
{
"scenario": "crash after original+variant S3 writes, before PostgreSQL ready commit and consumer ack",
"attachment_id": "a7ca73bb-9b4a-4e17-96f5-b5e637cfcdcc",
"worker_restart_count_before": 0,
"worker_restart_count_after": 1,
"status": "ready",
"variants": [
"thumbnail",
"crop",
"optimized"
],
"original_sha256_matches": true,
"recovery_seconds": 6.884,
"delivery": "Redis Streams at-least-once; deterministic object keys; DB ready commit precedes ack"
}
+26
View File
@@ -0,0 +1,26 @@
{
"track": "queue-overload",
"profile": "mixed",
"worker_concurrency": 1,
"upload_concurrency": 6,
"accepted": 12,
"failed": 0,
"elapsed_seconds": 3.115,
"throughput_ready_per_second": 3.852,
"ready_latency_ms": {
"p50": 1637.64,
"p95": 2482.81,
"p99": 2482.81
},
"estimated_queue_wait_ms": {
"p50": 1414.4,
"p95": 2156.79
},
"worker_rss_samples": [
"79.34MiB",
"74MiB"
],
"worker_rss_peak_sample": "79.34MiB",
"total_upload_bytes": 50602808,
"limitation": "Closed-loop synthetic workload; queue wait is bounded by 100 ms status polling and can miss short processing states. Docker RSS sampling is 250 ms."
}
+26
View File
@@ -0,0 +1,26 @@
{
"track": "queue-overload",
"profile": "mixed",
"worker_concurrency": 2,
"upload_concurrency": 6,
"accepted": 12,
"failed": 0,
"elapsed_seconds": 3.571,
"throughput_ready_per_second": 3.361,
"ready_latency_ms": {
"p50": 1320.6,
"p95": 1983.58,
"p99": 1983.58
},
"estimated_queue_wait_ms": {
"p50": 860.55,
"p95": 1783.38
},
"worker_rss_samples": [
"75.68MiB",
"105.7MiB"
],
"worker_rss_peak_sample": "105.7MiB",
"total_upload_bytes": 50602808,
"limitation": "Closed-loop synthetic workload; queue wait is bounded by 100 ms status polling and can miss short processing states. Docker RSS sampling is 250 ms."
}
+26
View File
@@ -0,0 +1,26 @@
{
"track": "queue-overload",
"profile": "mixed",
"worker_concurrency": 4,
"upload_concurrency": 6,
"accepted": 12,
"failed": 0,
"elapsed_seconds": 3.082,
"throughput_ready_per_second": 3.893,
"ready_latency_ms": {
"p50": 1471.21,
"p95": 2543.93,
"p99": 2543.93
},
"estimated_queue_wait_ms": {
"p50": 906.6,
"p95": 1576.49
},
"worker_rss_samples": [
"122MiB",
"105.3MiB"
],
"worker_rss_peak_sample": "122MiB",
"total_upload_bytes": 50602808,
"limitation": "Closed-loop synthetic workload; queue wait is bounded by 100 ms status polling and can miss short processing states. Docker RSS sampling is 250 ms."
}
+11
View File
@@ -0,0 +1,11 @@
{
"attachment_id": "76e68ddd-140e-4867-ad46-3a5c30065aeb",
"induced_fault": "staging key temporarily pointed to missing object",
"terminal_error_code": "retry_exhausted",
"attempt_limit": 5,
"dlq_length_after_failure": 2,
"explicit_replay": "ready",
"ready_sha256_matches": true,
"replay_of_ready_job": "refused",
"elapsed_seconds": 34.2
}
+13
View File
@@ -0,0 +1,13 @@
{
"attachment_id": "68b67459-f995-488d-87c4-37abda1abb41",
"upload_status": 202,
"status_without_worker_after_api_restart": "queued",
"final_status": "ready",
"original_sha256_matches": true,
"variants": [
"thumbnail",
"crop",
"optimized"
],
"recovery_seconds": 7.102
}