Skip to content

Image sizes and resource usage ​

Measured in phase 6 (Alpine, multi-stage builds, API bundled with tsdown):

ImageSizeBefore
api241 MB339 MB
web31.9 MB104 MB
cloudflared73 MB
CaseMemory
At restapi about 43 MiB, web about 8 MiB
1 GB file: upload, encrypt, download and zipapi Node RSS peak about 156 MB, container memory peak about 482 MB (zip phase), limit 768 MB

Memory does not depend on the file size, because upload, encryption, download and zip are all streamed. To measure it yourself against a local stack: node scripts/measure-transfer.mjs --size-gb 5.

MIT License