{ "hypothesis": "Ten concurrent ~1.9 MiB PNG uploads stay inside the 256 MiB API limit and peak RSS is not proportional to N * file_size because the body is spooled, not held twice as bytes.", "when": "2026-11-09T17:15:07Z", "commit": "c594b88", "host": { "system": "Windows", "machine": "AMD64", "processor": "Intel64 Family 6 Model 165 Stepping 2, GenuineIntel" }, "compose_limits": { "api_memory": "256M", "replicas": 2 }, "profile": { "concurrency": 10, "width": 900, "height": 700, "size_bytes": 1994104, "sha256": "03f35c154abaa690cfc41d6d73715992df84d10f45ff48dc14722bd64e49a263" }, "results": { "ok": 10, "errors": 0, "elapsed_s": 1.995, "p50_s": 0.5158, "p95_s": 0.5466, "p99_s": 0.5466, "peak_api_rss_mib": 93.66, "peak_rss_by_container_mib": { "messenger-lab4-api-2": 93.66, "messenger-lab4-api-1": 85.37 }, "samples": 3, "naive_n_times_size_mib": 19.02 }, "limits_of_measurement": "docker stats RSS is container-level and sampled ~200 ms; it is not a cgroup memory profiler. Python heap is not separated from MinIO/HAProxy. Coordinated start of N POSTs from one client." }