{ "experiment": "lab4 concurrent upload: peak API process RSS", "generated_at": "2026-12-04T11:24:42.787597Z", "git_revision": "f1fae32722dd89c48369ae92a303287c93490ed0", "api_image_id": "sha256:743995b25b1abba227d84d4e23f016e2121916cc68f4c032670eb8c24203314b", "base_url": "http://127.0.0.1:8084", "started_at": "2026-12-04T11:24:41.178269Z", "finished_at": "2026-12-04T11:24:42.203517Z", "wall_seconds": 1.025, "configured_concurrency": 12, "observed_peak_concurrency": 12, "successful_uploads": 12, "failed_uploads": 0, "api_instances": [ "773413b3e9bd", "9d9d4b6abf35" ], "uploads_per_instance": { "9d9d4b6abf35": { "uploads": 6, "bytes": 15459688 }, "773413b3e9bd": { "uploads": 6, "bytes": 37773412 } }, "profile": { "files": 12, "total_bytes": 53233100, "min_bytes": 2101403, "max_bytes": 10406995, "max_pixels": 3467200, "small": { "count": 6, "width": 1000, "height": 700 }, "medium": { "count": 4, "width": 1500, "height": 1100 }, "near_max_bytes": { "count": 2, "width": 1600, "height": 2167 } }, "limits": { "api_memory_limit_bytes": 402653184, "GOMEMLIMIT": "300MiB", "UPLOAD_DECODE_CONCURRENCY": "1", "S3_PUT_CONCURRENCY": "1", "MAX_UPLOAD_BYTES": "10485760", "MAX_IMAGE_PIXELS": "40000000" }, "memory_metrics": { "process_rss_source": "/proc/1/status VmRSS inside each API container, sampled by docker exec", "process_hwm_source": "/proc/1/status VmHWM inside each API container", "cgroup_source": "/sys/fs/cgroup/memory.current and memory.peak (whole container cgroup)", "sample_interval_seconds": 0.2, "samples_taken": 4, "first_sample_at": "2026-12-04T11:24:41.178238Z", "last_sample_at": "2026-12-04T11:24:42.549977Z", "max_sample_gap_seconds": 0.564, "per_instance": { "773413b3e9bd": { "samples": 4, "baseline_rss_bytes": 32374784, "baseline_hwm_bytes": 32374784, "peak_sampled_rss_bytes": 72986624, "peak_sampled_rss_delta_bytes": 40611840, "final_hwm_bytes": 74690560, "peak_cgroup_current_bytes": 102998016, "peak_cgroup_memory_peak_bytes": 104341504, "api_memory_limit_bytes": 402653184 }, "9d9d4b6abf35": { "samples": 4, "baseline_rss_bytes": 32636928, "baseline_hwm_bytes": 32636928, "peak_sampled_rss_bytes": 27385856, "peak_sampled_rss_delta_bytes": -5251072, "final_hwm_bytes": 53465088, "peak_cgroup_current_bytes": 27058176, "peak_cgroup_memory_peak_bytes": 54931456, "api_memory_limit_bytes": 402653184 } } }, "uploads": [ { "index": 0, "profile": "small", "filename": "load-00.png", "width": 1000, "height": 700, "pixels": 700000, "bytes": 2101403, "sha256": "79cbb720f624ede46a0cfa457295be4d59a01c89d5655eee9fec1c20709a9192", "started_at": "2026-12-04T11:24:41.218781Z", "finished_at": "2026-12-04T11:24:41.676800Z", "started_monotonic": 5.287859458, "finished_monotonic": 5.7457985, "duration_ms": 457.939, "status": 201, "instance_id": "9d9d4b6abf35", "attachment_id": "052fe85e-abac-4681-9c43-e75d9e286993", "server_sha256": "79cbb720f624ede46a0cfa457295be4d59a01c89d5655eee9fec1c20709a9192", "server_size_bytes": 2101403, "server_status": "ready" }, { "index": 1, "profile": "small", "filename": "load-01.png", "width": 1000, "height": 700, "pixels": 700000, "bytes": 2101403, "sha256": "56ff9e9df4640588383f1f3697e63fc47786486287765a6ec046692e792b3248", "started_at": "2026-12-04T11:24:41.218279Z", "finished_at": "2026-12-04T11:24:41.398929Z", "started_monotonic": 5.287357583, "finished_monotonic": 5.46797425, "duration_ms": 180.617, "status": 201, "instance_id": "773413b3e9bd", "attachment_id": "6cef5605-a5fa-4574-a8ab-71841fe5fd75", "server_sha256": "56ff9e9df4640588383f1f3697e63fc47786486287765a6ec046692e792b3248", "server_size_bytes": 2101403, "server_status": "ready" }, { "index": 2, "profile": "small", "filename": "load-02.png", "width": 1000, "height": 700, "pixels": 700000, "bytes": 2101403, "sha256": "12e55905a3f9f4472750c35137b43d948a9d3e3091e7f3587b58869f4333885d", "started_at": "2026-12-04T11:24:41.218365Z", "finished_at": "2026-12-04T11:24:41.384989Z", "started_monotonic": 5.287443291, "finished_monotonic": 5.454031583, "duration_ms": 166.588, "status": 201, "instance_id": "9d9d4b6abf35", "attachment_id": "4b370029-a66b-4c89-84f3-9f064f3e9556", "server_sha256": "12e55905a3f9f4472750c35137b43d948a9d3e3091e7f3587b58869f4333885d", "server_size_bytes": 2101403, "server_status": "ready" }, { "index": 3, "profile": "small", "filename": "load-03.png", "width": 1000, "height": 700, "pixels": 700000, "bytes": 2101403, "sha256": "f2b7dbdb007111bf6370726e98deeee88ad950678c131ecb33fbf1b81309ad27", "started_at": "2026-12-04T11:24:41.219201Z", "finished_at": "2026-12-04T11:24:41.414935Z", "started_monotonic": 5.28827925, "finished_monotonic": 5.483975875, "duration_ms": 195.697, "status": 201, "instance_id": "9d9d4b6abf35", "attachment_id": "4be186a4-1fa8-4cd3-87d8-40ba9febbf04", "server_sha256": "f2b7dbdb007111bf6370726e98deeee88ad950678c131ecb33fbf1b81309ad27", "server_size_bytes": 2101403, "server_status": "ready" }, { "index": 4, "profile": "small", "filename": "load-04.png", "width": 1000, "height": 700, "pixels": 700000, "bytes": 2101403, "sha256": "b1b3c5c004f2ad33a50a772c341754be7788e3a54182767b4593c3f07b384148", "started_at": "2026-12-04T11:24:41.218460Z", "finished_at": "2026-12-04T11:24:41.490542Z", "started_monotonic": 5.287537875, "finished_monotonic": 5.559571708, "duration_ms": 272.034, "status": 201, "instance_id": "9d9d4b6abf35", "attachment_id": "4105e6c2-ac6b-4305-ba0f-124777f13dda", "server_sha256": "b1b3c5c004f2ad33a50a772c341754be7788e3a54182767b4593c3f07b384148", "server_size_bytes": 2101403, "server_status": "ready" }, { "index": 5, "profile": "small", "filename": "load-05.png", "width": 1000, "height": 700, "pixels": 700000, "bytes": 2101403, "sha256": "4d4db37b1cd3144cb7c136ef6c9e210c556e298401cb0f7c87068732bdee1d24", "started_at": "2026-12-04T11:24:41.218701Z", "finished_at": "2026-12-04T11:24:41.591689Z", "started_monotonic": 5.287779416, "finished_monotonic": 5.660702625, "duration_ms": 372.923, "status": 201, "instance_id": "9d9d4b6abf35", "attachment_id": "d87fca8a-33f5-4a9b-9f06-a2bb23cd7ea3", "server_sha256": "4d4db37b1cd3144cb7c136ef6c9e210c556e298401cb0f7c87068732bdee1d24", "server_size_bytes": 2101403, "server_status": "ready" }, { "index": 6, "profile": "medium", "filename": "load-06.png", "width": 1500, "height": 1100, "pixels": 1650000, "bytes": 4952673, "sha256": "1b36c050abe85d2a1d183943ae0c8198080810c3e320defcbb54cc3ee9892de5", "started_at": "2026-12-04T11:24:41.218864Z", "finished_at": "2026-12-04T11:24:41.698197Z", "started_monotonic": 5.287942291, "finished_monotonic": 5.767191041, "duration_ms": 479.249, "status": 201, "instance_id": "773413b3e9bd", "attachment_id": "1f7b0e63-6947-4dd2-8bc1-2bd221f3a052", "server_sha256": "1b36c050abe85d2a1d183943ae0c8198080810c3e320defcbb54cc3ee9892de5", "server_size_bytes": 4952673, "server_status": "ready" }, { "index": 7, "profile": "medium", "filename": "load-07.png", "width": 1500, "height": 1100, "pixels": 1650000, "bytes": 4952673, "sha256": "fd35bb6ecf8257aab2696d8a7ee0dece9350d3e46371661a742a0e057cdd75df", "started_at": "2026-12-04T11:24:41.218549Z", "finished_at": "2026-12-04T11:24:41.590681Z", "started_monotonic": 5.287627083, "finished_monotonic": 5.659694541, "duration_ms": 372.067, "status": 201, "instance_id": "773413b3e9bd", "attachment_id": "69f4125b-52f4-4d50-a94d-c745b58f8229", "server_sha256": "fd35bb6ecf8257aab2696d8a7ee0dece9350d3e46371661a742a0e057cdd75df", "server_size_bytes": 4952673, "server_status": "ready" }, { "index": 8, "profile": "medium", "filename": "load-08.png", "width": 1500, "height": 1100, "pixels": 1650000, "bytes": 4952673, "sha256": "fae30be4f37e121952050d82c5952de321591845750a290321edb6fe094ba57f", "started_at": "2026-12-04T11:24:41.218611Z", "finished_at": "2026-12-04T11:24:41.889265Z", "started_monotonic": 5.287689416, "finished_monotonic": 5.958228958, "duration_ms": 670.54, "status": 201, "instance_id": "773413b3e9bd", "attachment_id": "26b99241-7773-4564-b903-3a9ca7d66bb2", "server_sha256": "fae30be4f37e121952050d82c5952de321591845750a290321edb6fe094ba57f", "server_size_bytes": 4952673, "server_status": "ready" }, { "index": 9, "profile": "medium", "filename": "load-09.png", "width": 1500, "height": 1100, "pixels": 1650000, "bytes": 4952673, "sha256": "317bd264909822fb98f661324e660bcc8b2fb63fb4c4aca5d0f930799234b975", "started_at": "2026-12-04T11:24:41.218964Z", "finished_at": "2026-12-04T11:24:41.803889Z", "started_monotonic": 5.288042833, "finished_monotonic": 5.872865833, "duration_ms": 584.823, "status": 201, "instance_id": "9d9d4b6abf35", "attachment_id": "408744ba-b6c3-4300-81dc-9cda62f919c2", "server_sha256": "317bd264909822fb98f661324e660bcc8b2fb63fb4c4aca5d0f930799234b975", "server_size_bytes": 4952673, "server_status": "ready" }, { "index": 10, "profile": "near-max-bytes", "filename": "load-10.png", "width": 1600, "height": 2167, "pixels": 3467200, "bytes": 10406995, "sha256": "323d49ae0c9e62d43be080d4c521db8ad08e59975d162c730bf544e5bf1bc673", "started_at": "2026-12-04T11:24:41.219078Z", "finished_at": "2026-12-04T11:24:42.203122Z", "started_monotonic": 5.2881565, "finished_monotonic": 6.272034833, "duration_ms": 983.878, "status": 201, "instance_id": "773413b3e9bd", "attachment_id": "f0e6fe26-abf3-492a-b71d-71aeae256411", "server_sha256": "323d49ae0c9e62d43be080d4c521db8ad08e59975d162c730bf544e5bf1bc673", "server_size_bytes": 10406995, "server_status": "ready" }, { "index": 11, "profile": "near-max-bytes", "filename": "load-11.png", "width": 1600, "height": 2167, "pixels": 3467200, "bytes": 10406995, "sha256": "4996193b58d3cfa1a9be97f0326a1747022984d7ff5cc04d257dad92e7bb3c09", "started_at": "2026-12-04T11:24:41.218131Z", "finished_at": "2026-12-04T11:24:42.009061Z", "started_monotonic": 5.287203958, "finished_monotonic": 6.07800625, "duration_ms": 790.802, "status": 201, "instance_id": "773413b3e9bd", "attachment_id": "0933968d-904e-48f7-bce4-b1acb2d1387f", "server_sha256": "4996193b58d3cfa1a9be97f0326a1747022984d7ff5cc04d257dad92e7bb3c09", "server_size_bytes": 10406995, "server_status": "ready" } ], "result": "PASS", "limitations": [ "One local stand: RSS includes Go runtime and handler state, not a production profile.", "The sampler uses docker exec every 200 ms; a shorter allocation spike between samples is bounded by VmHWM, which is also reported.", "cgroup memory.current includes page cache and is not process RSS." ] }