forked from mtusi2026/mtusi2026lab5
Complete Lab 5: implementation, fault scenarios, and Track 1 report
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"queue_limit": 1,
|
||||
"worker_stopped": true,
|
||||
"first_upload_status": 202,
|
||||
"next_upload_status": 503,
|
||||
"accepted_attachment_id": "21226e6a-ee2b-43b9-9040-734c8e0c59d4",
|
||||
"final_status": "ready",
|
||||
"original_sha256_matches": true,
|
||||
"recovery_seconds": 8.377,
|
||||
"note": "503 admission refusal leaves the already accepted job intact."
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"attachment_id": "54d22875-520a-45a8-ae6a-21c11807e843",
|
||||
"status_before_broker_restart": "queued",
|
||||
"stream_length_before_restart": 3,
|
||||
"stream_length_after_restart": 3,
|
||||
"final_status": "ready",
|
||||
"original_sha256_matches": true,
|
||||
"result": "PASS"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"scenario": "crash after original+variant S3 writes, before PostgreSQL ready commit and consumer ack",
|
||||
"attachment_id": "24b77169-5098-4e66-94bc-ffb2dc1495b1",
|
||||
"worker_restart_count_before": 0,
|
||||
"worker_restart_count_after": 1,
|
||||
"status": "ready",
|
||||
"variants": [
|
||||
"thumbnail",
|
||||
"crop",
|
||||
"optimized"
|
||||
],
|
||||
"original_sha256_matches": true,
|
||||
"recovery_seconds": 6.133,
|
||||
"delivery": "Redis Streams at-least-once; deterministic object keys; DB ready commit precedes ack"
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"track": "queue-overload",
|
||||
"profile": "mixed",
|
||||
"worker_concurrency": 1,
|
||||
"upload_concurrency": 6,
|
||||
"accepted": 12,
|
||||
"failed": 0,
|
||||
"elapsed_seconds": 9.152,
|
||||
"throughput_ready_per_second": 1.311,
|
||||
"ready_latency_ms": {
|
||||
"p50": 3253.53,
|
||||
"p95": 5788.39,
|
||||
"p99": 5788.39
|
||||
},
|
||||
"estimated_queue_wait_ms": {
|
||||
"p50": 2775.81,
|
||||
"p95": 4955.47
|
||||
},
|
||||
"worker_rss_samples": [
|
||||
"58.66MiB",
|
||||
"104.1MiB",
|
||||
"82.58MiB",
|
||||
"94.14MiB",
|
||||
"81.29MiB"
|
||||
],
|
||||
"worker_rss_peak_sample": "104.1MiB",
|
||||
"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."
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"track": "queue-overload",
|
||||
"profile": "mixed",
|
||||
"worker_concurrency": 2,
|
||||
"upload_concurrency": 6,
|
||||
"accepted": 12,
|
||||
"failed": 0,
|
||||
"elapsed_seconds": 8.098,
|
||||
"throughput_ready_per_second": 1.482,
|
||||
"ready_latency_ms": {
|
||||
"p50": 3449.67,
|
||||
"p95": 5566.78,
|
||||
"p99": 5566.78
|
||||
},
|
||||
"estimated_queue_wait_ms": {
|
||||
"p50": 2163.5,
|
||||
"p95": 4059.81
|
||||
},
|
||||
"worker_rss_samples": [
|
||||
"62.24MiB",
|
||||
"150.5MiB",
|
||||
"102.1MiB",
|
||||
"82.44MiB"
|
||||
],
|
||||
"worker_rss_peak_sample": "150.5MiB",
|
||||
"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."
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"track": "queue-overload",
|
||||
"profile": "mixed",
|
||||
"worker_concurrency": 4,
|
||||
"upload_concurrency": 6,
|
||||
"accepted": 12,
|
||||
"failed": 0,
|
||||
"elapsed_seconds": 7.948,
|
||||
"throughput_ready_per_second": 1.51,
|
||||
"ready_latency_ms": {
|
||||
"p50": 2091.93,
|
||||
"p95": 5172.02,
|
||||
"p99": 5172.02
|
||||
},
|
||||
"estimated_queue_wait_ms": {
|
||||
"p50": 1615.54,
|
||||
"p95": 2800.88
|
||||
},
|
||||
"worker_rss_samples": [
|
||||
"105MiB",
|
||||
"135.1MiB",
|
||||
"186.1MiB",
|
||||
"108.6MiB"
|
||||
],
|
||||
"worker_rss_peak_sample": "186.1MiB",
|
||||
"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."
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"attachment_id": "43551aab-5c0d-4b47-bed2-1e4ca50c4db3",
|
||||
"induced_fault": "staging key temporarily pointed to missing object",
|
||||
"terminal_error_code": "retry_exhausted",
|
||||
"attempt_limit": 5,
|
||||
"dlq_length_after_failure": 1,
|
||||
"explicit_replay": "ready",
|
||||
"ready_sha256_matches": true,
|
||||
"replay_of_ready_job": "refused",
|
||||
"elapsed_seconds": 34.515
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"attachment_id": "b1e29a23-f636-4586-baa3-844dd018b255",
|
||||
"upload_status": 202,
|
||||
"status_without_worker_after_api_restart": "queued",
|
||||
"final_status": "ready",
|
||||
"original_sha256_matches": true,
|
||||
"variants": [
|
||||
"thumbnail",
|
||||
"crop",
|
||||
"optimized"
|
||||
],
|
||||
"recovery_seconds": 10.244
|
||||
}
|
||||
Reference in New Issue
Block a user