Skip to content
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

feat: unstable dynamic routing feature #599

Merged
merged 11 commits into from
Sep 23, 2024

Conversation

adamspofford-dfinity
Copy link
Contributor

The final design of dynamic routing in the agent is not complete and other teams want to be already using it, so this merges the original design with the minimum number of changes to support WASM, and exports it under the feature _internal_dynamic-routing. Work on the final design will continue in the background.

@adamspofford-dfinity adamspofford-dfinity marked this pull request as ready for review September 23, 2024 21:49
@adamspofford-dfinity adamspofford-dfinity requested a review from a team as a code owner September 23, 2024 21:49
@adamspofford-dfinity adamspofford-dfinity merged commit 603f1ff into main Sep 23, 2024
24 checks passed
@adamspofford-dfinity adamspofford-dfinity deleted the spofford/unstable-dynamic-routing branch September 23, 2024 22:32
use thiserror::Error;
use tokio::{
Copy link
Contributor

Choose a reason for hiding this comment

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

@adamspofford-dfinity even though futures_util can run with tokio runtime, i'm not sure the performance will be as good as with pure tokio. As tokio specific utilities like tasks are optimized for tokio, so i'm a bit concerned with the decision to remove it.

Copy link
Contributor

Choose a reason for hiding this comment

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

i get the rationale to make the code work for wasm builds too, but don't like that standard build will potentially loose in performance

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.

3 participants