forked from mtusi2026/mtusi2026lab5
ЛР5: брокер RabbitMQ, worker, outbox, retry/DLQ/replay, трек 1
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"scenario": "ack-crash",
|
||||
"result": "PASS",
|
||||
"started_at": "2026-11-11T23:24:36Z",
|
||||
"fault": "worker os.Exit after result COMMIT + staging cleanup, before ack",
|
||||
"attachment_id": "fc38c3d8-b1b7-440f-b6c5-9b315979731b",
|
||||
"upload": 202,
|
||||
"worker_restart_counts_before": {
|
||||
"d3259669fad0": 1
|
||||
},
|
||||
"worker_restart_counts_after": {
|
||||
"d3259669fad0": 2
|
||||
},
|
||||
"statuses_seen": [
|
||||
"processing",
|
||||
"ready"
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "queued",
|
||||
"error_code": "",
|
||||
"at": "23:24:38.431"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:24:38.460"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "ready",
|
||||
"error_code": "",
|
||||
"at": "23:24:38.529"
|
||||
}
|
||||
],
|
||||
"job_after": {
|
||||
"job_id": "4b9eb573-b6b4-4f6c-bec9-0d73147bab15",
|
||||
"status": "ready",
|
||||
"attempt": 1,
|
||||
"max_attempts": 5,
|
||||
"error_code": "",
|
||||
"variant_rows": 3,
|
||||
"outbox_rows": 1,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": true
|
||||
},
|
||||
"s3": {
|
||||
"variants_objects": 3,
|
||||
"final_original": 1,
|
||||
"staging_objects": 0
|
||||
},
|
||||
"redelivery_noop_log": [
|
||||
{
|
||||
"result": "done",
|
||||
"redelivered": true
|
||||
}
|
||||
],
|
||||
"ready_check": {
|
||||
"variants": {
|
||||
"thumbnail": "image/jpeg 256x160 5620B",
|
||||
"crop": "image/jpeg 128x128 2440B",
|
||||
"optimized": "image/webp 320x200 2462B"
|
||||
},
|
||||
"thumbnail_real_jpeg_size": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"original_sha256_ok": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"scenario": "api-crash",
|
||||
"result": "PASS",
|
||||
"started_at": "2026-11-11T23:24:10Z",
|
||||
"fault": "API os.Exit right after COMMIT(queued+job+outbox), before publish and before HTTP response",
|
||||
"attachment_id": "4e18930b-bd0f-4db5-a033-35fbd74c93a1",
|
||||
"client_view": "client saw failure: -a15d-9d5fe0759a8c/attachments: expected [202], received 502",
|
||||
"job_right_after_crash": {
|
||||
"job_id": "8dadbdde-897c-4acb-ae12-b7565b03dbb4",
|
||||
"status": "ready",
|
||||
"attempt": 1,
|
||||
"max_attempts": 5,
|
||||
"error_code": "",
|
||||
"variant_rows": 3,
|
||||
"outbox_rows": 1,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": true
|
||||
},
|
||||
"api_restart_counts_before": {
|
||||
"78c8984ff002": 0,
|
||||
"4c38672b42d2": 0
|
||||
},
|
||||
"api_restart_counts_after": {
|
||||
"78c8984ff002": 1,
|
||||
"4c38672b42d2": 0
|
||||
},
|
||||
"statuses_seen": [
|
||||
"ready"
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "queued",
|
||||
"error_code": "",
|
||||
"at": "23:24:12.312"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:24:12.463"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "ready",
|
||||
"error_code": "",
|
||||
"at": "23:24:12.538"
|
||||
}
|
||||
],
|
||||
"job_after": {
|
||||
"job_id": "8dadbdde-897c-4acb-ae12-b7565b03dbb4",
|
||||
"status": "ready",
|
||||
"attempt": 1,
|
||||
"max_attempts": 5,
|
||||
"error_code": "",
|
||||
"variant_rows": 3,
|
||||
"outbox_rows": 1,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": true
|
||||
},
|
||||
"ready_check": {
|
||||
"variants": {
|
||||
"thumbnail": "image/jpeg 256x160 5620B",
|
||||
"crop": "image/jpeg 128x128 2440B",
|
||||
"optimized": "image/webp 320x200 2462B"
|
||||
},
|
||||
"thumbnail_real_jpeg_size": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"original_sha256_ok": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"scenario": "dlq",
|
||||
"result": "PASS",
|
||||
"started_at": "2026-11-11T23:25:29Z",
|
||||
"published": {
|
||||
"routed": true
|
||||
},
|
||||
"dlq_before": {
|
||||
"ready": 0,
|
||||
"unacked": 0,
|
||||
"consumers": 0
|
||||
},
|
||||
"dlq_after": {
|
||||
"ready": 1,
|
||||
"unacked": 0,
|
||||
"consumers": 0
|
||||
},
|
||||
"worker_log": [
|
||||
"malformed job message -> DLQ"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"scenario": "effect-crash",
|
||||
"result": "PASS",
|
||||
"started_at": "2026-11-11T23:24:19Z",
|
||||
"fault": "worker os.Exit after writing original+variants to S3, before result COMMIT and ack",
|
||||
"attachment_id": "4e2f8752-7072-4dc0-ae24-eccb7f6d25ff",
|
||||
"upload": 202,
|
||||
"worker_restart_counts_before": {
|
||||
"d3259669fad0": 0
|
||||
},
|
||||
"worker_restart_counts_after": {
|
||||
"d3259669fad0": 1
|
||||
},
|
||||
"statuses_seen": [
|
||||
"queued",
|
||||
"processing",
|
||||
"ready"
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "queued",
|
||||
"error_code": "",
|
||||
"at": "23:24:21.431"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:24:21.482"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "taken_over",
|
||||
"error_code": "",
|
||||
"at": "23:24:22.154"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "ready",
|
||||
"error_code": "",
|
||||
"at": "23:24:22.573"
|
||||
}
|
||||
],
|
||||
"job_after": {
|
||||
"job_id": "f945f7fb-dd8f-461b-b3e5-7cae6db38fcc",
|
||||
"status": "ready",
|
||||
"attempt": 1,
|
||||
"max_attempts": 5,
|
||||
"error_code": "",
|
||||
"variant_rows": 3,
|
||||
"outbox_rows": 1,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": true
|
||||
},
|
||||
"s3": {
|
||||
"variants_objects": 3,
|
||||
"final_original": 1,
|
||||
"staging_objects": 0
|
||||
},
|
||||
"redelivery_noop_log": [],
|
||||
"ready_check": {
|
||||
"variants": {
|
||||
"thumbnail": "image/jpeg 256x160 5620B",
|
||||
"crop": "image/jpeg 128x128 2440B",
|
||||
"optimized": "image/webp 320x200 2462B"
|
||||
},
|
||||
"thumbnail_real_jpeg_size": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"original_sha256_ok": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 117, "failed_attempts": 0, "first_recovery_seconds": 3.972}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"scenario": "hang",
|
||||
"result": "PASS",
|
||||
"started_at": "2026-11-11T23:25:57Z",
|
||||
"fault": "attempt 1 freezes for 3x lease without heartbeat (simulated hung worker)",
|
||||
"attachment_id": "9eb5e502-1491-4ae3-93ae-5031997a921d",
|
||||
"seconds_to_ready": 31.6,
|
||||
"statuses_seen": [
|
||||
"queued",
|
||||
"processing",
|
||||
"queued",
|
||||
"ready"
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "queued",
|
||||
"error_code": "",
|
||||
"at": "23:25:57.874"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:25:57.929"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "retry_scheduled",
|
||||
"error_code": "lease_expired",
|
||||
"at": "23:26:29.068"
|
||||
},
|
||||
{
|
||||
"attempt": "2",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:26:29.319"
|
||||
},
|
||||
{
|
||||
"attempt": "2",
|
||||
"event": "ready",
|
||||
"error_code": "",
|
||||
"at": "23:26:29.391"
|
||||
}
|
||||
],
|
||||
"job_after": {
|
||||
"job_id": "f955fe0d-3b17-42bf-8df8-aae785e1ae68",
|
||||
"status": "ready",
|
||||
"attempt": 2,
|
||||
"max_attempts": 5,
|
||||
"error_code": "",
|
||||
"variant_rows": 3,
|
||||
"outbox_rows": 2,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": true
|
||||
},
|
||||
"s3": {
|
||||
"variants_objects": 3,
|
||||
"final_original": 1,
|
||||
"staging_objects": 0
|
||||
},
|
||||
"stale_attempt_logs": [
|
||||
"stale attempt finished after takeover; result already owned by newer attempt"
|
||||
],
|
||||
"ready_check": {
|
||||
"variants": {
|
||||
"thumbnail": "image/jpeg 256x160 5620B",
|
||||
"crop": "image/jpeg 128x128 2440B",
|
||||
"optimized": "image/webp 320x200 2462B"
|
||||
},
|
||||
"thumbnail_real_jpeg_size": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"original_sha256_ok": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"scenario": "invalid",
|
||||
"result": "PASS",
|
||||
"started_at": "2026-11-11T23:25:26Z",
|
||||
"corrupt_png": {
|
||||
"upload": 202,
|
||||
"statuses_seen": [
|
||||
"processing",
|
||||
"failed"
|
||||
],
|
||||
"error_code": "invalid_image",
|
||||
"events": [
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "queued",
|
||||
"error_code": "",
|
||||
"at": "23:25:26.980"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:25:27.016"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "failed",
|
||||
"error_code": "invalid_image",
|
||||
"at": "23:25:27.027"
|
||||
}
|
||||
],
|
||||
"job": {
|
||||
"job_id": "7ead7c8c-0dd7-4b4a-8c2a-807323b1673a",
|
||||
"status": "failed",
|
||||
"attempt": 1,
|
||||
"max_attempts": 5,
|
||||
"error_code": "invalid_image",
|
||||
"variant_rows": 0,
|
||||
"outbox_rows": 1,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": false
|
||||
}
|
||||
},
|
||||
"api_rejects_before_queue": {
|
||||
"pixel_bomb_20000x20000": 413,
|
||||
"not_an_image": 415,
|
||||
"over_10MiB": 413,
|
||||
"path_in_filename": 400
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"scenario": "limits",
|
||||
"result": "PASS",
|
||||
"started_at": "2026-11-11T23:25:46Z",
|
||||
"image": "6000x6000 PNG (36 MPx, 116950 bytes)",
|
||||
"seconds_to_ready": 5.2,
|
||||
"worker_peak_mem_mib": 490.6,
|
||||
"worker_mem_limit_mib": 768,
|
||||
"variants": {
|
||||
"thumbnail": "256x256",
|
||||
"crop": "128x128",
|
||||
"optimized": "1280x1280"
|
||||
},
|
||||
"statuses_seen": [
|
||||
"processing",
|
||||
"ready"
|
||||
],
|
||||
"job": {
|
||||
"job_id": "a0763969-5958-4662-b71a-5e861560a79b",
|
||||
"status": "ready",
|
||||
"attempt": 1,
|
||||
"max_attempts": 5,
|
||||
"error_code": "",
|
||||
"variant_rows": 3,
|
||||
"outbox_rows": 1,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"scenario": "replay",
|
||||
"result": "PASS",
|
||||
"started_at": "2026-11-11T23:28:58Z",
|
||||
"fault": "transient error on every attempt <= JOB_MAX_ATTEMPTS",
|
||||
"attachment_id": "adcb5aa2-0565-4bc7-b88c-c44cab442533",
|
||||
"statuses_seen": [
|
||||
"queued",
|
||||
"processing",
|
||||
"queued",
|
||||
"failed"
|
||||
],
|
||||
"failed_metadata": {
|
||||
"status": "failed",
|
||||
"error_code": "retry_exhausted",
|
||||
"variants": []
|
||||
},
|
||||
"content_when_failed": 409,
|
||||
"attach_failed_to_message": 409,
|
||||
"job_failed": {
|
||||
"job_id": "089d500a-3ea5-43bb-a0fd-691bf514537d",
|
||||
"status": "failed",
|
||||
"attempt": 5,
|
||||
"max_attempts": 5,
|
||||
"error_code": "retry_exhausted",
|
||||
"variant_rows": 0,
|
||||
"outbox_rows": 5,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": false
|
||||
},
|
||||
"dlq_registry_query": "1",
|
||||
"replay_1": {
|
||||
"attempt": 6,
|
||||
"job_id": "089d500a-3ea5-43bb-a0fd-691bf514537d",
|
||||
"result": "replayed"
|
||||
},
|
||||
"replay_2_after_ready": {
|
||||
"result": "noop",
|
||||
"reason": "job already ready; replay refused"
|
||||
},
|
||||
"statuses_after_replay": [
|
||||
"processing",
|
||||
"ready"
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "queued",
|
||||
"error_code": "",
|
||||
"at": "23:28:59.257"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:28:59.318"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "retry_scheduled",
|
||||
"error_code": "injected_transient",
|
||||
"at": "23:28:59.324"
|
||||
},
|
||||
{
|
||||
"attempt": "2",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:29:00.268"
|
||||
},
|
||||
{
|
||||
"attempt": "2",
|
||||
"event": "retry_scheduled",
|
||||
"error_code": "injected_transient",
|
||||
"at": "23:29:00.277"
|
||||
},
|
||||
{
|
||||
"attempt": "3",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:29:02.077"
|
||||
},
|
||||
{
|
||||
"attempt": "3",
|
||||
"event": "retry_scheduled",
|
||||
"error_code": "injected_transient",
|
||||
"at": "23:29:02.085"
|
||||
},
|
||||
{
|
||||
"attempt": "4",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:29:05.701"
|
||||
},
|
||||
{
|
||||
"attempt": "4",
|
||||
"event": "retry_scheduled",
|
||||
"error_code": "injected_transient",
|
||||
"at": "23:29:05.708"
|
||||
},
|
||||
{
|
||||
"attempt": "5",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:29:11.048"
|
||||
},
|
||||
{
|
||||
"attempt": "5",
|
||||
"event": "failed",
|
||||
"error_code": "retry_exhausted",
|
||||
"at": "23:29:11.060"
|
||||
},
|
||||
{
|
||||
"attempt": "6",
|
||||
"event": "replay",
|
||||
"error_code": "",
|
||||
"at": "23:29:13.048"
|
||||
},
|
||||
{
|
||||
"attempt": "6",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:29:13.264"
|
||||
},
|
||||
{
|
||||
"attempt": "6",
|
||||
"event": "ready",
|
||||
"error_code": "",
|
||||
"at": "23:29:13.784"
|
||||
}
|
||||
],
|
||||
"job_after": {
|
||||
"job_id": "089d500a-3ea5-43bb-a0fd-691bf514537d",
|
||||
"status": "ready",
|
||||
"attempt": 6,
|
||||
"max_attempts": 10,
|
||||
"error_code": "",
|
||||
"variant_rows": 3,
|
||||
"outbox_rows": 6,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": true
|
||||
},
|
||||
"ready_check": {
|
||||
"variants": {
|
||||
"thumbnail": "image/jpeg 256x160 5620B",
|
||||
"crop": "image/jpeg 128x128 2440B",
|
||||
"optimized": "image/webp 320x200 2462B"
|
||||
},
|
||||
"thumbnail_real_jpeg_size": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"original_sha256_ok": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"scenario": "retry",
|
||||
"result": "PASS",
|
||||
"started_at": "2026-11-11T23:24:52Z",
|
||||
"fault": "attempts 1 and 2 raise a transient error (injected_transient)",
|
||||
"attachment_id": "1eadb246-c3b9-4152-b21e-1b5ec2de9033",
|
||||
"statuses_seen": [
|
||||
"queued",
|
||||
"processing",
|
||||
"ready"
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "queued",
|
||||
"error_code": "",
|
||||
"at": "23:24:53.308"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:24:53.381"
|
||||
},
|
||||
{
|
||||
"attempt": "1",
|
||||
"event": "retry_scheduled",
|
||||
"error_code": "injected_transient",
|
||||
"at": "23:24:53.390"
|
||||
},
|
||||
{
|
||||
"attempt": "2",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:24:54.330"
|
||||
},
|
||||
{
|
||||
"attempt": "2",
|
||||
"event": "retry_scheduled",
|
||||
"error_code": "injected_transient",
|
||||
"at": "23:24:54.339"
|
||||
},
|
||||
{
|
||||
"attempt": "3",
|
||||
"event": "started",
|
||||
"error_code": "",
|
||||
"at": "23:24:56.146"
|
||||
},
|
||||
{
|
||||
"attempt": "3",
|
||||
"event": "ready",
|
||||
"error_code": "",
|
||||
"at": "23:24:56.565"
|
||||
}
|
||||
],
|
||||
"retry_gaps_seconds": [
|
||||
0.94,
|
||||
1.81
|
||||
],
|
||||
"expected_gap_ranges": [
|
||||
"attempt1: [0.5, 1.0] s",
|
||||
"attempt2: [1.0, 2.0] s"
|
||||
],
|
||||
"job_after": {
|
||||
"job_id": "09973bd1-2b97-43c2-9292-d3519960a2c7",
|
||||
"status": "ready",
|
||||
"attempt": 3,
|
||||
"max_attempts": 5,
|
||||
"error_code": "",
|
||||
"variant_rows": 3,
|
||||
"outbox_rows": 3,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": true
|
||||
},
|
||||
"ready_check": {
|
||||
"variants": {
|
||||
"thumbnail": "image/jpeg 256x160 5620B",
|
||||
"crop": "image/jpeg 128x128 2440B",
|
||||
"optimized": "image/webp 320x200 2462B"
|
||||
},
|
||||
"thumbnail_real_jpeg_size": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"original_sha256_ok": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
PASS: lab5 public API scenario; infrastructure and grading evidence remain separate.
|
||||
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"experiment": "backpressure",
|
||||
"started_at": "2026-11-12T07:56:12Z",
|
||||
"worker_limits": "cpus=2.0 memory=768M GOMEMLIMIT=600MiB decode budget 384MiB",
|
||||
"host": "Windows 11, Docker Desktop 29.7.2 (WSL2)",
|
||||
"max_active_jobs_bound": 20,
|
||||
"worker_concurrency": 1,
|
||||
"uploads": 80,
|
||||
"accepted_202": 20,
|
||||
"rejected_503": 60,
|
||||
"retry_after_header": [
|
||||
"5"
|
||||
],
|
||||
"other": [],
|
||||
"upload_burst_s": 1.22,
|
||||
"drained": true,
|
||||
"drain_s": 36.4,
|
||||
"max_active_observed": 18,
|
||||
"jobs": {
|
||||
"jobs": 21,
|
||||
"ready": 21,
|
||||
"failed": 0,
|
||||
"retried_jobs": 0,
|
||||
"throughput_jobs_per_s": 0.58,
|
||||
"pipeline_span_s": 36.38,
|
||||
"time_to_ready_s": {
|
||||
"p50": 17.728,
|
||||
"p95": 32.937,
|
||||
"max": 34.657
|
||||
}
|
||||
},
|
||||
"after_overload_upload_status": "ready",
|
||||
"after_overload_seconds_to_ready": 0.28,
|
||||
"lag_timeline": [
|
||||
{
|
||||
"t": 3.8,
|
||||
"active": 8,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 0,
|
||||
"oldest_age_s": 0.29
|
||||
},
|
||||
{
|
||||
"t": 7.7,
|
||||
"active": 18,
|
||||
"mq_ready": 18,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 4.38
|
||||
},
|
||||
{
|
||||
"t": 12.1,
|
||||
"active": 16,
|
||||
"mq_ready": 15,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 8.2
|
||||
},
|
||||
{
|
||||
"t": 16.0,
|
||||
"active": 14,
|
||||
"mq_ready": 12,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 12.58
|
||||
},
|
||||
{
|
||||
"t": 20.2,
|
||||
"active": 11,
|
||||
"mq_ready": 9,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 16.32
|
||||
},
|
||||
{
|
||||
"t": 23.8,
|
||||
"active": 9,
|
||||
"mq_ready": 9,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 20.4
|
||||
},
|
||||
{
|
||||
"t": 28.3,
|
||||
"active": 7,
|
||||
"mq_ready": 6,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 24.09
|
||||
},
|
||||
{
|
||||
"t": 31.5,
|
||||
"active": 4,
|
||||
"mq_ready": 3,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 28.48
|
||||
},
|
||||
{
|
||||
"t": 36.5,
|
||||
"active": 2,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 31.68
|
||||
},
|
||||
{
|
||||
"t": 40.0,
|
||||
"active": 0,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 0,
|
||||
"oldest_age_s": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,682 @@
|
||||
{
|
||||
"experiment": "matrix",
|
||||
"started_at": "2026-11-11T23:38:36Z",
|
||||
"worker_limits": "cpus=2.0 memory=768M GOMEMLIMIT=600MiB decode budget 384MiB",
|
||||
"host": "Windows 11, Docker Desktop 29.7.2 (WSL2)",
|
||||
"runs": [
|
||||
{
|
||||
"size": "S_320x200",
|
||||
"image_bytes": 111817,
|
||||
"worker_concurrency_prefetch": 1,
|
||||
"uploads": 120,
|
||||
"accepted_202": 120,
|
||||
"rejected": 0,
|
||||
"upload_burst_s": 1.09,
|
||||
"drained": true,
|
||||
"jobs": 120,
|
||||
"ready": 120,
|
||||
"failed": 0,
|
||||
"retried_jobs": 0,
|
||||
"throughput_jobs_per_s": 9.38,
|
||||
"pipeline_span_s": 12.79,
|
||||
"time_to_ready_s": {
|
||||
"p50": 6.325,
|
||||
"p95": 11.297,
|
||||
"max": 11.759
|
||||
},
|
||||
"queue_lag": {
|
||||
"max_active_jobs": 51,
|
||||
"max_mq_ready": 112,
|
||||
"max_oldest_job_age_s": 10.94
|
||||
},
|
||||
"worker_peak_rss_mib": 59.3,
|
||||
"lag_timeline": [
|
||||
{
|
||||
"t": 6.9,
|
||||
"active": 50,
|
||||
"mq_ready": 112,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 0.51
|
||||
},
|
||||
{
|
||||
"t": 11.0,
|
||||
"active": 51,
|
||||
"mq_ready": 64,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 7.09
|
||||
},
|
||||
{
|
||||
"t": 16.8,
|
||||
"active": 10,
|
||||
"mq_ready": 12,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 10.94
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"size": "M_2000x1500",
|
||||
"image_bytes": 1165217,
|
||||
"worker_concurrency_prefetch": 1,
|
||||
"uploads": 40,
|
||||
"accepted_202": 40,
|
||||
"rejected": 0,
|
||||
"upload_burst_s": 1.23,
|
||||
"drained": true,
|
||||
"jobs": 40,
|
||||
"ready": 40,
|
||||
"failed": 0,
|
||||
"retried_jobs": 0,
|
||||
"throughput_jobs_per_s": 0.56,
|
||||
"pipeline_span_s": 70.84,
|
||||
"time_to_ready_s": {
|
||||
"p50": 36.797,
|
||||
"p95": 68.11,
|
||||
"max": 69.761
|
||||
},
|
||||
"queue_lag": {
|
||||
"max_active_jobs": 36,
|
||||
"max_mq_ready": 38,
|
||||
"max_oldest_job_age_s": 69.31
|
||||
},
|
||||
"worker_peak_rss_mib": 165.3,
|
||||
"lag_timeline": [
|
||||
{
|
||||
"t": 6.6,
|
||||
"active": 14,
|
||||
"mq_ready": 38,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 0.39
|
||||
},
|
||||
{
|
||||
"t": 10.5,
|
||||
"active": 36,
|
||||
"mq_ready": 36,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 7.22
|
||||
},
|
||||
{
|
||||
"t": 16.4,
|
||||
"active": 34,
|
||||
"mq_ready": 33,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 11.15
|
||||
},
|
||||
{
|
||||
"t": 20.7,
|
||||
"active": 31,
|
||||
"mq_ready": 30,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 16.91
|
||||
},
|
||||
{
|
||||
"t": 25.2,
|
||||
"active": 28,
|
||||
"mq_ready": 27,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 21.14
|
||||
},
|
||||
{
|
||||
"t": 30.4,
|
||||
"active": 26,
|
||||
"mq_ready": 24,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 25.53
|
||||
},
|
||||
{
|
||||
"t": 34.5,
|
||||
"active": 23,
|
||||
"mq_ready": 21,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 30.62
|
||||
},
|
||||
{
|
||||
"t": 40.8,
|
||||
"active": 21,
|
||||
"mq_ready": 19,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 34.71
|
||||
},
|
||||
{
|
||||
"t": 44.9,
|
||||
"active": 17,
|
||||
"mq_ready": 16,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 40.9
|
||||
},
|
||||
{
|
||||
"t": 51.7,
|
||||
"active": 15,
|
||||
"mq_ready": 13,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 44.93
|
||||
},
|
||||
{
|
||||
"t": 55.8,
|
||||
"active": 11,
|
||||
"mq_ready": 10,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 51.73
|
||||
},
|
||||
{
|
||||
"t": 61.0,
|
||||
"active": 9,
|
||||
"mq_ready": 7,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 55.64
|
||||
},
|
||||
{
|
||||
"t": 65.5,
|
||||
"active": 6,
|
||||
"mq_ready": 5,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 60.82
|
||||
},
|
||||
{
|
||||
"t": 69.7,
|
||||
"active": 3,
|
||||
"mq_ready": 2,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 65.23
|
||||
},
|
||||
{
|
||||
"t": 75.2,
|
||||
"active": 1,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 0,
|
||||
"oldest_age_s": 69.31
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"size": "L_5000x4000",
|
||||
"image_bytes": 66065,
|
||||
"worker_concurrency_prefetch": 1,
|
||||
"uploads": 16,
|
||||
"accepted_202": 16,
|
||||
"rejected": 0,
|
||||
"upload_burst_s": 0.18,
|
||||
"drained": true,
|
||||
"jobs": 16,
|
||||
"ready": 16,
|
||||
"failed": 0,
|
||||
"retried_jobs": 0,
|
||||
"throughput_jobs_per_s": 0.37,
|
||||
"pipeline_span_s": 42.92,
|
||||
"time_to_ready_s": {
|
||||
"p50": 24.227,
|
||||
"p95": 42.775,
|
||||
"max": 42.775
|
||||
},
|
||||
"queue_lag": {
|
||||
"max_active_jobs": 16,
|
||||
"max_mq_ready": 14,
|
||||
"max_oldest_job_age_s": 38.34
|
||||
},
|
||||
"worker_peak_rss_mib": 601.1,
|
||||
"lag_timeline": [
|
||||
{
|
||||
"t": 3.4,
|
||||
"active": 16,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 0,
|
||||
"oldest_age_s": 0.4
|
||||
},
|
||||
{
|
||||
"t": 8.4,
|
||||
"active": 15,
|
||||
"mq_ready": 14,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 4.38
|
||||
},
|
||||
{
|
||||
"t": 13.3,
|
||||
"active": 13,
|
||||
"mq_ready": 12,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 9.25
|
||||
},
|
||||
{
|
||||
"t": 17.9,
|
||||
"active": 11,
|
||||
"mq_ready": 10,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 14.16
|
||||
},
|
||||
{
|
||||
"t": 23.4,
|
||||
"active": 10,
|
||||
"mq_ready": 8,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 18.7
|
||||
},
|
||||
{
|
||||
"t": 27.3,
|
||||
"active": 8,
|
||||
"mq_ready": 6,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 24.23
|
||||
},
|
||||
{
|
||||
"t": 33.6,
|
||||
"active": 6,
|
||||
"mq_ready": 5,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 28.08
|
||||
},
|
||||
{
|
||||
"t": 37.6,
|
||||
"active": 4,
|
||||
"mq_ready": 3,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 34.53
|
||||
},
|
||||
{
|
||||
"t": 44.6,
|
||||
"active": 2,
|
||||
"mq_ready": 1,
|
||||
"mq_unacked": 1,
|
||||
"oldest_age_s": 38.34
|
||||
},
|
||||
{
|
||||
"t": 48.5,
|
||||
"active": 0,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 0,
|
||||
"oldest_age_s": 0.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"size": "S_320x200",
|
||||
"image_bytes": 111817,
|
||||
"worker_concurrency_prefetch": 2,
|
||||
"uploads": 120,
|
||||
"accepted_202": 120,
|
||||
"rejected": 0,
|
||||
"upload_burst_s": 1.05,
|
||||
"drained": true,
|
||||
"jobs": 120,
|
||||
"ready": 120,
|
||||
"failed": 0,
|
||||
"retried_jobs": 0,
|
||||
"throughput_jobs_per_s": 16.25,
|
||||
"pipeline_span_s": 7.39,
|
||||
"time_to_ready_s": {
|
||||
"p50": 3.649,
|
||||
"p95": 6.158,
|
||||
"max": 6.383
|
||||
},
|
||||
"queue_lag": {
|
||||
"max_active_jobs": 63,
|
||||
"max_mq_ready": 64,
|
||||
"max_oldest_job_age_s": 6.35
|
||||
},
|
||||
"worker_peak_rss_mib": 22.8,
|
||||
"lag_timeline": [
|
||||
{
|
||||
"t": 6.5,
|
||||
"active": 63,
|
||||
"mq_ready": 64,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 0.51
|
||||
},
|
||||
{
|
||||
"t": 10.6,
|
||||
"active": 1,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 0,
|
||||
"oldest_age_s": 6.35
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"size": "M_2000x1500",
|
||||
"image_bytes": 1165247,
|
||||
"worker_concurrency_prefetch": 2,
|
||||
"uploads": 40,
|
||||
"accepted_202": 40,
|
||||
"rejected": 0,
|
||||
"upload_burst_s": 1.18,
|
||||
"drained": true,
|
||||
"jobs": 40,
|
||||
"ready": 40,
|
||||
"failed": 0,
|
||||
"retried_jobs": 0,
|
||||
"throughput_jobs_per_s": 1.11,
|
||||
"pipeline_span_s": 36.02,
|
||||
"time_to_ready_s": {
|
||||
"p50": 19.159,
|
||||
"p95": 35.018,
|
||||
"max": 35.103
|
||||
},
|
||||
"queue_lag": {
|
||||
"max_active_jobs": 36,
|
||||
"max_mq_ready": 34,
|
||||
"max_oldest_job_age_s": 33.77
|
||||
},
|
||||
"worker_peak_rss_mib": 328.2,
|
||||
"lag_timeline": [
|
||||
{
|
||||
"t": 3.6,
|
||||
"active": 11,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 0,
|
||||
"oldest_age_s": 0.27
|
||||
},
|
||||
{
|
||||
"t": 8.7,
|
||||
"active": 36,
|
||||
"mq_ready": 34,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 4.26
|
||||
},
|
||||
{
|
||||
"t": 13.5,
|
||||
"active": 30,
|
||||
"mq_ready": 28,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 9.11
|
||||
},
|
||||
{
|
||||
"t": 17.5,
|
||||
"active": 26,
|
||||
"mq_ready": 23,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 13.82
|
||||
},
|
||||
{
|
||||
"t": 23.2,
|
||||
"active": 20,
|
||||
"mq_ready": 17,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 17.73
|
||||
},
|
||||
{
|
||||
"t": 27.3,
|
||||
"active": 14,
|
||||
"mq_ready": 12,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 23.2
|
||||
},
|
||||
{
|
||||
"t": 33.9,
|
||||
"active": 10,
|
||||
"mq_ready": 6,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 27.16
|
||||
},
|
||||
{
|
||||
"t": 37.9,
|
||||
"active": 2,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 33.77
|
||||
},
|
||||
{
|
||||
"t": 44.8,
|
||||
"active": 0,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 0,
|
||||
"oldest_age_s": 0.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"size": "L_5000x4000",
|
||||
"image_bytes": 66065,
|
||||
"worker_concurrency_prefetch": 2,
|
||||
"uploads": 16,
|
||||
"accepted_202": 16,
|
||||
"rejected": 0,
|
||||
"upload_burst_s": 0.18,
|
||||
"drained": true,
|
||||
"jobs": 16,
|
||||
"ready": 16,
|
||||
"failed": 0,
|
||||
"retried_jobs": 0,
|
||||
"throughput_jobs_per_s": 0.72,
|
||||
"pipeline_span_s": 22.17,
|
||||
"time_to_ready_s": {
|
||||
"p50": 13.631,
|
||||
"p95": 22.04,
|
||||
"max": 22.04
|
||||
},
|
||||
"queue_lag": {
|
||||
"max_active_jobs": 16,
|
||||
"max_mq_ready": 14,
|
||||
"max_oldest_job_age_s": 21.51
|
||||
},
|
||||
"worker_peak_rss_mib": 585.2,
|
||||
"lag_timeline": [
|
||||
{
|
||||
"t": 6.3,
|
||||
"active": 16,
|
||||
"mq_ready": 14,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 0.41
|
||||
},
|
||||
{
|
||||
"t": 10.4,
|
||||
"active": 12,
|
||||
"mq_ready": 10,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 7.17
|
||||
},
|
||||
{
|
||||
"t": 16.7,
|
||||
"active": 8,
|
||||
"mq_ready": 6,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 11.19
|
||||
},
|
||||
{
|
||||
"t": 20.7,
|
||||
"active": 4,
|
||||
"mq_ready": 2,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 17.55
|
||||
},
|
||||
{
|
||||
"t": 25.8,
|
||||
"active": 2,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 0,
|
||||
"oldest_age_s": 21.51
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"size": "S_320x200",
|
||||
"image_bytes": 111817,
|
||||
"worker_concurrency_prefetch": 4,
|
||||
"uploads": 120,
|
||||
"accepted_202": 120,
|
||||
"rejected": 0,
|
||||
"upload_burst_s": 1.11,
|
||||
"drained": true,
|
||||
"jobs": 120,
|
||||
"ready": 120,
|
||||
"failed": 0,
|
||||
"retried_jobs": 0,
|
||||
"throughput_jobs_per_s": 23.27,
|
||||
"pipeline_span_s": 5.16,
|
||||
"time_to_ready_s": {
|
||||
"p50": 2.281,
|
||||
"p95": 3.945,
|
||||
"max": 4.099
|
||||
},
|
||||
"queue_lag": {
|
||||
"max_active_jobs": 61,
|
||||
"max_mq_ready": 32,
|
||||
"max_oldest_job_age_s": 0.51
|
||||
},
|
||||
"worker_peak_rss_mib": 29.0,
|
||||
"lag_timeline": [
|
||||
{
|
||||
"t": 4.9,
|
||||
"active": 61,
|
||||
"mq_ready": 32,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 0.51
|
||||
},
|
||||
{
|
||||
"t": 9.0,
|
||||
"active": 0,
|
||||
"mq_ready": 32,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 0.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"size": "M_2000x1500",
|
||||
"image_bytes": 1165242,
|
||||
"worker_concurrency_prefetch": 4,
|
||||
"uploads": 40,
|
||||
"accepted_202": 40,
|
||||
"rejected": 0,
|
||||
"upload_burst_s": 1.28,
|
||||
"drained": true,
|
||||
"jobs": 40,
|
||||
"ready": 40,
|
||||
"failed": 0,
|
||||
"retried_jobs": 0,
|
||||
"throughput_jobs_per_s": 1.09,
|
||||
"pipeline_span_s": 36.86,
|
||||
"time_to_ready_s": {
|
||||
"p50": 21.093,
|
||||
"p95": 35.792,
|
||||
"max": 35.83
|
||||
},
|
||||
"queue_lag": {
|
||||
"max_active_jobs": 36,
|
||||
"max_mq_ready": 36,
|
||||
"max_oldest_job_age_s": 32.06
|
||||
},
|
||||
"worker_peak_rss_mib": 513.1,
|
||||
"lag_timeline": [
|
||||
{
|
||||
"t": 5.5,
|
||||
"active": 9,
|
||||
"mq_ready": 36,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 0.28
|
||||
},
|
||||
{
|
||||
"t": 9.4,
|
||||
"active": 36,
|
||||
"mq_ready": 31,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 6.15
|
||||
},
|
||||
{
|
||||
"t": 13.9,
|
||||
"active": 32,
|
||||
"mq_ready": 24,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 9.87
|
||||
},
|
||||
{
|
||||
"t": 19.0,
|
||||
"active": 27,
|
||||
"mq_ready": 20,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 14.19
|
||||
},
|
||||
{
|
||||
"t": 22.8,
|
||||
"active": 20,
|
||||
"mq_ready": 20,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 19.04
|
||||
},
|
||||
{
|
||||
"t": 28.5,
|
||||
"active": 16,
|
||||
"mq_ready": 8,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 22.81
|
||||
},
|
||||
{
|
||||
"t": 32.3,
|
||||
"active": 12,
|
||||
"mq_ready": 8,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 28.43
|
||||
},
|
||||
{
|
||||
"t": 39.0,
|
||||
"active": 6,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 0,
|
||||
"oldest_age_s": 32.06
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"size": "L_5000x4000",
|
||||
"image_bytes": 66065,
|
||||
"worker_concurrency_prefetch": 4,
|
||||
"uploads": 16,
|
||||
"accepted_202": 16,
|
||||
"rejected": 0,
|
||||
"upload_burst_s": 0.18,
|
||||
"drained": true,
|
||||
"jobs": 16,
|
||||
"ready": 16,
|
||||
"failed": 0,
|
||||
"retried_jobs": 0,
|
||||
"throughput_jobs_per_s": 0.73,
|
||||
"pipeline_span_s": 21.84,
|
||||
"time_to_ready_s": {
|
||||
"p50": 13.692,
|
||||
"p95": 21.692,
|
||||
"max": 21.692
|
||||
},
|
||||
"queue_lag": {
|
||||
"max_active_jobs": 16,
|
||||
"max_mq_ready": 12,
|
||||
"max_oldest_job_age_s": 19.61
|
||||
},
|
||||
"worker_peak_rss_mib": 593.2,
|
||||
"lag_timeline": [
|
||||
{
|
||||
"t": 4.9,
|
||||
"active": 16,
|
||||
"mq_ready": 12,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 0.42
|
||||
},
|
||||
{
|
||||
"t": 8.9,
|
||||
"active": 12,
|
||||
"mq_ready": 8,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 5.73
|
||||
},
|
||||
{
|
||||
"t": 15.0,
|
||||
"active": 10,
|
||||
"mq_ready": 4,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 9.71
|
||||
},
|
||||
{
|
||||
"t": 18.9,
|
||||
"active": 6,
|
||||
"mq_ready": 2,
|
||||
"mq_unacked": 4,
|
||||
"oldest_age_s": 15.7
|
||||
},
|
||||
{
|
||||
"t": 25.9,
|
||||
"active": 2,
|
||||
"mq_ready": 0,
|
||||
"mq_unacked": 2,
|
||||
"oldest_age_s": 19.61
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"scenario": "worker-down",
|
||||
"result": "PASS",
|
||||
"started_at": "2026-11-11T23:23:18Z",
|
||||
"attachment_id": "4ebdeb92-a3d0-467d-b8cf-e7e7d45306c2",
|
||||
"message_id": "f0e4acb4-49b4-4c27-b726-911937e01552",
|
||||
"upload_status": 202,
|
||||
"upload_ms_worker_down": 99,
|
||||
"queue_before_restart": {
|
||||
"ready": 1,
|
||||
"unacked": 0,
|
||||
"consumers": 0
|
||||
},
|
||||
"job_before_restart": {
|
||||
"job_id": "a56aa984-d3eb-4716-a47d-f246d752426c",
|
||||
"status": "queued",
|
||||
"attempt": 1,
|
||||
"max_attempts": 5,
|
||||
"error_code": "",
|
||||
"variant_rows": 0,
|
||||
"outbox_rows": 1,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": false
|
||||
},
|
||||
"queue_after_api_and_broker_restart": {
|
||||
"ready": 1,
|
||||
"unacked": 0,
|
||||
"consumers": 0
|
||||
},
|
||||
"status_after_restart_before_worker": "queued",
|
||||
"seconds_to_ready_after_worker_start": 0.34,
|
||||
"statuses_seen": [
|
||||
"processing",
|
||||
"ready"
|
||||
],
|
||||
"steps": [
|
||||
"docker compose stop worker",
|
||||
"upload -> 202 queued",
|
||||
"message with queued attachment -> 201",
|
||||
"content while queued -> 409",
|
||||
"plain text message -> 201",
|
||||
"docker compose restart api rabbitmq (volumes kept)",
|
||||
"docker compose start worker"
|
||||
],
|
||||
"ready_check": {
|
||||
"variants": {
|
||||
"thumbnail": "image/jpeg 256x160 5620B",
|
||||
"crop": "image/jpeg 128x128 2440B",
|
||||
"optimized": "image/webp 320x200 2462B"
|
||||
},
|
||||
"thumbnail_real_jpeg_size": [
|
||||
256,
|
||||
160
|
||||
],
|
||||
"original_sha256_ok": true
|
||||
},
|
||||
"job_after": {
|
||||
"job_id": "a56aa984-d3eb-4716-a47d-f246d752426c",
|
||||
"status": "ready",
|
||||
"attempt": 1,
|
||||
"max_attempts": 5,
|
||||
"error_code": "",
|
||||
"variant_rows": 3,
|
||||
"outbox_rows": 1,
|
||||
"outbox_unpublished": 0,
|
||||
"staging_removed": true
|
||||
},
|
||||
"s3": {
|
||||
"variants_objects": 3,
|
||||
"final_original": 1,
|
||||
"staging_objects": 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user