stargz-snapshotter icon indicating copy to clipboard operation
stargz-snapshotter copied to clipboard

IPFS trickle layout for estargz images

Open RealHarshThakur opened this issue 2 years ago • 1 comments

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.

RealHarshThakur avatar Feb 20 '22 23:02 RealHarshThakur

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.

ktock avatar Feb 21 '22 00:02 ktock