forked from mtusi2026/mtusi2026lab5
129 lines
2.8 KiB
JSON
129 lines
2.8 KiB
JSON
{
|
|
"base_url": "http://127.0.0.1:8080",
|
|
"sizes": [
|
|
{
|
|
"name": "small",
|
|
"width": 128,
|
|
"height": 128,
|
|
"count": 5
|
|
},
|
|
{
|
|
"name": "medium",
|
|
"width": 640,
|
|
"height": 480,
|
|
"count": 5
|
|
},
|
|
{
|
|
"name": "large",
|
|
"width": 2560,
|
|
"height": 1920,
|
|
"count": 5
|
|
}
|
|
],
|
|
"note": "Each setting stops the worker, accepts the same backlog, then starts that prefetch. prefetch equals WORKER_CONCURRENCY. p95_s is client time from the 202 to ready. throughput is ready count divided by drain time after the worker starts. rss_max_mib is the worker container during the drain.",
|
|
"runs": [
|
|
{
|
|
"label": "compare",
|
|
"concurrency_prefetch": 1,
|
|
"uploaded": 15,
|
|
"ready": 15,
|
|
"failed": [],
|
|
"drain_s": 3.134,
|
|
"throughput_ready_per_s": 4.786,
|
|
"queue_ready_at_start": 15,
|
|
"queue_ready_max": 4,
|
|
"p95_s": 8.196,
|
|
"p95_drain_s": 3.134,
|
|
"p95_by_size": {
|
|
"small": {
|
|
"n": 5,
|
|
"p95_s": 5.953
|
|
},
|
|
"medium": {
|
|
"n": 5,
|
|
"p95_s": 6.088
|
|
},
|
|
"large": {
|
|
"n": 5,
|
|
"p95_s": 8.196
|
|
}
|
|
},
|
|
"rss_max_mib": 110.3,
|
|
"rss_samples": 3,
|
|
"still_pending": []
|
|
},
|
|
{
|
|
"label": "compare",
|
|
"concurrency_prefetch": 2,
|
|
"uploaded": 15,
|
|
"ready": 15,
|
|
"failed": [],
|
|
"drain_s": 3.088,
|
|
"throughput_ready_per_s": 4.858,
|
|
"queue_ready_at_start": 15,
|
|
"queue_ready_max": 1,
|
|
"p95_s": 7.647,
|
|
"p95_drain_s": 3.088,
|
|
"p95_by_size": {
|
|
"small": {
|
|
"n": 5,
|
|
"p95_s": 5.502
|
|
},
|
|
"medium": {
|
|
"n": 5,
|
|
"p95_s": 5.676
|
|
},
|
|
"large": {
|
|
"n": 5,
|
|
"p95_s": 7.647
|
|
}
|
|
},
|
|
"rss_max_mib": 110.6,
|
|
"rss_samples": 3,
|
|
"still_pending": []
|
|
},
|
|
{
|
|
"label": "compare",
|
|
"concurrency_prefetch": 4,
|
|
"uploaded": 15,
|
|
"ready": 15,
|
|
"failed": [],
|
|
"drain_s": 3.453,
|
|
"throughput_ready_per_s": 4.344,
|
|
"queue_ready_at_start": 15,
|
|
"queue_ready_max": 7,
|
|
"p95_s": 7.366,
|
|
"p95_drain_s": 3.453,
|
|
"p95_by_size": {
|
|
"small": {
|
|
"n": 5,
|
|
"p95_s": 5.23
|
|
},
|
|
"medium": {
|
|
"n": 5,
|
|
"p95_s": 5.044
|
|
},
|
|
"large": {
|
|
"n": 5,
|
|
"p95_s": 7.366
|
|
}
|
|
},
|
|
"rss_max_mib": 275.8,
|
|
"rss_samples": 3,
|
|
"still_pending": []
|
|
}
|
|
],
|
|
"overload": {
|
|
"label": "overload",
|
|
"cap": 20,
|
|
"attempted": 28,
|
|
"accepted": 19,
|
|
"rejected_429": 9,
|
|
"queue_ready_while_stopped": 19,
|
|
"pending_after_restart": [],
|
|
"follow_up_status": 202,
|
|
"follow_up_pending": [],
|
|
"elapsed_s": 6.364
|
|
}
|
|
}
|