News for hackers. Stuff that matters.
Re:Why does musl make my Rust code so slow? (2020) by maxmcd on Tuesday December 12, 2023 @02:52PM (#38617467)
Maybe "picking alpine images because they are small without thinking deeply about it" is the mistake here?

Debian images can end up using a lot of apt-get tricks to install dependencies cleanly. Way easier with alpine. I think there are plenty of reasons people are quick to make this decision without the necessary depth of investigation.

Minimizing docker image size is great. Cold starts with large image downloads can cause all sorts of fun issues. Yes, if you're shipping lots of dependencies in your containers the size of the base image can quickly be irrelevant. And yes, I think it is usually reached for prematurely, but the benefits are there for the few that need them.

There are no comments on this comment yet.