3 ms·
> If you’re having to download multi gigabyte docker layers multiple times, something has gone very wrong When I worked at Vercel during the days we supported
by junon 5y ago
> If you’re having to download multi gigabyte docker layers multiple times, something has gone very wrong
When I worked at Vercel during the days we supported Docker hosting (back when it was still ZEIT), we saw that even among many tenants on the same machine, the "layers" thing wasn't really that beneficial - we still had to fetch a ton of stuff over and over again.
So this is great in theory, but it doesn't really pan out in practice.
- kkielhofner 5y agoI believe Docker has even throttled/blocked corporate users doing excessive layer pulls from Hub (and suggested they sign up for X plan). Reasonable, IMHO.
- junon 5y agoThat's a recent thing, as I understand it. After Hub switched to their enterprise plan setup. ZEIT had a pretty aggressive cache anyway, for the short time it was implemented (before ZEIT moved away from docker hosting, at least).
- kkielhofner 5y agoI always thought it was a little strange given that layers are easily CDN-cacheable indefinitely. That said I'm sure they're using something like a CDN but even the cheapest bandwidth gets expensive at level of scale.