Comparing Docker minimal image size for a JSON API in various languages
Show HN: Comparing Docker minimal image size for a JSON API in various languages
Comparing Docker minimal image size for a JSON API in various languages is a business in show hn launch.
Profile
Show HN: Docker minimal image size comparison for a simple JSON API in various programming languagesI implemented a simple JSON API in multiple programming languages. It is interesting to compare the sizes of the resulting Docker images.Optimizing the images can really reduce the sizes, especially for interpreted languages: while you would expect Go and Rust to be small (and they are: 9 MB & 5 MB respectively), Python and PHP are also surprisingly good: 60 MB and 51 MB.Deno, Bun, NodeJS, .Net and Ruby are between 100 and 200 MB.Ruby using bitami:ruby was over 500 MB. Switching to chainguard:ruby brought it down to 124 MB.I haven't optimized the Swift, Perl, Java & Tcl images which are betwee
Comparing Docker minimal image size for a JSON API in various languages is positioned in show hn launch, a segment that rewards a clear, focused offering.
Its current recorded stage is Show HN launch.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: andrew.marcuse.info/blog/2025/2025-02-01-docker-image-sizes.html
Browse related
Create a free account