Skip to content

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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shadaj
Copy link
Member

@shadaj shadaj commented Mar 22, 2025

No description provided.

Copy link

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
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?

@@ -13,7 +13,7 @@ use trybuild_internals_api::{Runner, dependencies, features, path};

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
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)

Copy link
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
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
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