Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPFS trickle layout for estargz images #653

Open
RealHarshThakur opened this issue Feb 20, 2022 · 1 comment
Open

IPFS trickle layout for estargz images #653

RealHarshThakur opened this issue Feb 20, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@RealHarshThakur
Copy link

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.

@ktock
Copy link
Member

ktock commented Feb 21, 2022

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 ktock added the enhancement New feature or request label Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants