forked from mtusi2026/mtusi2026lab4
17 lines
1.3 KiB
Plaintext
17 lines
1.3 KiB
Plaintext
Experiment: 10 concurrent uploads × 9.5 MiB
|
||
Date: 2026-10-30 21:05:49
|
||
Hardware: 8415133696 bytes RAM
|
||
Image: messenger-lab4-api (python:3.11.9-slim + boto3/Pillow)
|
||
Container limit: 512 MiB (mem_limit visible in docker stats)
|
||
|
||
baseline (idle): 73.22 MiB
|
||
peak after 10×9.5 MiB: 92.34 MiB
|
||
growth: +19.12 MiB
|
||
|
||
load result: concurrency=10 size=9.50MiB total=5.55s p50=5.12s p95=5.19s
|
||
|
||
Interpretation:
|
||
If each upload buffered the entire 9.5 MiB body in RAM, peak would be
|
||
≥ 73 + 10*9.5 = 168 MiB. Actual growth (+19 MiB) shows SpooledTemporaryFile
|
||
(1 MiB RAM + spill to /tmp) plus run_sync buffers. Streaming holds.
|