stargz-snapshotter
stargz-snapshotter copied to clipboard
IPFS trickle layout for estargz images
Hey folks, I was wondering if trickle layout would be better in case estargz is enabled over here as it would reduce the time to first byte: https://github.com/containerd/stargz-snapshotter/blob/main/ipfs/converter.go#L58
If it's not/doesn't matter, would love to learn why. Thanks.
trickle layout
We haven't tried trickle layout but patches are welcome if they improve the performance.
the time to first byte
When lazy pulling eStargz, stargz-snapshotter firstly reads 51 bytes footer (i.e. "last" 51 bytes of a file), rather than the first byte.