Skip to content

feat(dfir_rs,hydro_lang): add experimental io-uring based networking#1804

Draft
shadaj wants to merge 1 commit intomainfrom
pr1804
Draft

feat(dfir_rs,hydro_lang): add experimental io-uring based networking#1804
shadaj wants to merge 1 commit intomainfrom
pr1804

Conversation

@shadaj
Copy link
Copy Markdown
Member

@shadaj shadaj commented Mar 22, 2025

No description provided.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 22, 2025

Deploying hydroflow with  Cloudflare Pages  Cloudflare Pages

Latest commit: febe5e6
Status: ✅  Deploy successful!
Preview URL: https://115bc30c.hydroflow.pages.dev
Branch Preview URL: https://pr1804.hydroflow.pages.dev

View logs

@shadaj shadaj force-pushed the pr1804 branch 6 times, most recently from 2719a19 to 37d7ea1 Compare March 22, 2025 07:01
Comment on lines +945 to +947
{
ret = ret.features(vec!["hydro___feature_runtime_io-uring"]);
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this magic string do anything?

use super::trybuild_rewriters::ReplaceCrateNameWithStaged;

pub const HYDRO_RUNTIME_FEATURES: [&str; 1] = ["runtime_measure"];
pub const HYDRO_RUNTIME_FEATURES: [&str; 2] = ["runtime_measure", "runtime_io-uring"];
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(can also make this &[&str] = &[...] to avoid updating the length)

Comment thread dfir_rs/Cargo.toml
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(if you're using evenBetterToml can set these in repo .vscode/settings.json to keep more of the old format)

"evenBetterToml.formatter.compactArrays": false,
"evenBetterToml.formatter.columnWidth": 120,

Comment on lines +13 to +18
{
tokio_uring::builder().entries(4096).start(async move {
println!("ack start");
super::resource_measurement::run(flow).await;
})
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tokio_rt unused here? Can de-duplicate the two async { .. } bodies (also why is one move and one not)

@shadaj
Copy link
Copy Markdown
Member Author

shadaj commented Mar 24, 2025

Blocked on #1807

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