Skip to content

Conversation

@TwoStone
Copy link
Contributor

@TwoStone TwoStone commented Nov 23, 2021

When creating the index.yaml for a repository the server fetches the content of the charts twice.
One time when fetching all charts from the storage backend, then determining the diff between cache and backend and then fetch the charts again.
This leads to slower index regeneration and higher costs for backend requests.
The metadata required for the determination of the objectSliceDiff should already be included in the ListObject response so we only have to read the whole file from the backend when it is changed.

Signed-off-by: Niklas Walter <niklas.walter@volkswagen.de>
@TwoStone TwoStone force-pushed the perf/reduce-chart-fetches-from-storage branch from 412c4bf to de7a67d Compare November 23, 2021 13:52
@jdolitsky
Copy link
Contributor

@TwoStone - thank you!

@jdolitsky jdolitsky added this to the v0.14.0 milestone Jan 24, 2022
@jdolitsky jdolitsky merged commit 1229856 into helm:main Jan 24, 2022
@TwoStone TwoStone deleted the perf/reduce-chart-fetches-from-storage branch February 1, 2022 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants