Skip to content

Conversation

@NathanFlurry
Copy link
Member

Changes

Copy link
Member Author

NathanFlurry commented Apr 1, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add the label merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 1, 2025

Deploying rivet with  Cloudflare Pages  Cloudflare Pages

Latest commit: c6910d5
Status:🚫  Build failed.

View logs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 2, 2025

Deploying rivet-hub with  Cloudflare Pages  Cloudflare Pages

Latest commit: c6910d5
Status:⚡️  Build in progress...

View logs

@NathanFlurry NathanFlurry force-pushed the 03-31-perf_pegboard_parallelize_writing_configs_under_setup_oci_bundle branch from c6910d5 to 096ea4c Compare April 2, 2025 07:02
@NathanFlurry NathanFlurry force-pushed the 03-31-perf_pegboard_increase_page_size_for_passing_data_from_downlaod_to_lz4 branch from 79ca91f to 6685e2d Compare April 2, 2025 07:02
@NathanFlurry NathanFlurry force-pushed the 03-31-perf_pegboard_parallelize_writing_configs_under_setup_oci_bundle branch from 096ea4c to c6910d5 Compare April 2, 2025 07:25
@NathanFlurry NathanFlurry marked this pull request as ready for review April 2, 2025 17:51
@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 2, 2025

Merge activity

  • Apr 2, 1:51 PM EDT: NathanFlurry added this pull request to the Graphite merge queue.
  • Apr 2, 1:52 PM EDT: CI is running for this pull request on a draft pull request (#2299) due to your merge queue CI optimization settings.
  • Apr 2, 1:54 PM EDT: Merged by the Graphite merge queue via draft PR: #2299.

Copy link

@greptile-apps greptile-apps bot left a 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 optimizes the OCI bundle setup by parallelizing file writes in setup_oci_bundle using tokio::try_join!, replacing sequential writes and aiming for improved performance.

• In packages/edge/infra/client/manager/src/actor/setup.rs, config.json, resolv.conf, and hosts are written concurrently.
• All file contents are fully prepared before the concurrent writes, ensuring independent operations.
• Error propagation via try_join! maintains atomic behavior if any write fails.
• Confirm that the overall atomicity is acceptable in failure scenarios.

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

graphite-app bot pushed a commit that referenced this pull request Apr 2, 2025
…2289)

<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
@graphite-app graphite-app bot deleted the branch 03-31-perf_pegboard_increase_page_size_for_passing_data_from_downlaod_to_lz4 April 2, 2025 17:54
@graphite-app graphite-app bot closed this Apr 2, 2025
@graphite-app graphite-app bot closed this Apr 2, 2025
@graphite-app graphite-app bot deleted the 03-31-perf_pegboard_parallelize_writing_configs_under_setup_oci_bundle branch April 2, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants