-
Notifications
You must be signed in to change notification settings - Fork 135
perf(pegboard): download & extract with raw unix pipes #2295
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
Conversation
7464d01 to
6953d6a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR refactors image downloading for enhanced performance by leveraging raw Unix pipes for efficient data transfer and introduces a unified URL shuffling strategy.
• Added get_image_addresses in /packages/edge/infra/client/manager/src/utils/mod.rs using ChaCha12Rng seeded from image ID.
• Refactored download_image in /packages/edge/infra/client/manager/src/actor/setup.rs to build and execute shell commands with Unix pipes.
• Maintained fallback URL logic alongside improved error handling and metrics logging.
2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
Merge activity
|
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->

Changes