News for hackers. Stuff that matters.
Re:Dive: A tool for exploring a Docker image, layer contents... by natebc on Monday January 08, 2024 @02:44PM (#38917028)
some startup performance savings in fewer http requests to fetch the image. small for sure but it's something?
Re:Dive: A tool for exploring a Docker image, layer contents... by electroly on Monday January 08, 2024 @02:54PM (#38917172)
In practice I've found the performance savings often goes the other way--for large (multi-GB) images it's faster to split it up into more layers that it can download in parallel from the registry. It won't parallelize the download of a single layer and in EC2+ECR you won't get particularly good throughput with a single layer.
Re:Dive: A tool for exploring a Docker image, layer contents... by whirlwin on Monday January 08, 2024 @05:16PM (#38919023)
Depends. If you would have to fetch a big layer often because of updates, that's not good. But if what is changing frequently is in a smaller layer, it will be more favorable