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

Enhance subscribers, queryables and liveliness tokens propagation to improve scalability #814

Merged
merged 43 commits into from
May 13, 2024

Conversation

OlivierHecart
Copy link
Contributor

No description provided.

@eclipse-zenoh-bot
Copy link
Contributor

@OlivierHecart If this pull request contains a bugfix or a new feature, then please consider using Closes #ISSUE-NUMBER syntax to link it to an issue.

@OlivierHecart OlivierHecart linked an issue Mar 13, 2024 that may be closed by this pull request
zenoh/src/net/routing/hat/linkstate_peer/pubsub.rs Outdated Show resolved Hide resolved
zenoh/src/net/routing/hat/linkstate_peer/queries.rs Outdated Show resolved Hide resolved
zenoh/src/net/routing/hat/router/pubsub.rs Outdated Show resolved Hide resolved
zenoh/src/net/routing/hat/router/pubsub.rs Outdated Show resolved Hide resolved
zenoh/src/net/routing/hat/router/pubsub.rs Outdated Show resolved Hide resolved
zenoh/src/net/routing/hat/router/pubsub.rs Outdated Show resolved Hide resolved
OlivierHecart and others added 3 commits March 27, 2024 10:19
* Add client writer-side filtering

* Reimplement liveliness with interests

* Fix writer-side filtering before receiving FinalInterest
impl CurrentFutureTrait for InterestMode {
#[inline]
fn future(&self) -> bool {
self == &InterestMode::Future || self == &InterestMode::CurrentFuture

Choose a reason for hiding this comment

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

So no strong opinion on this so it's simply to have a written trace somewhere.

The InterestMode enum as an abstraction on the Current & Future flags, make the switch to an Interest Final message clearer but at the same time it creates that CurrentFuture state that doesn't represent anything specific.

On the other side of the coin, if we don't have this enum, we keep Current and Future as separate flags but it suddenly switch to Interest Final out of the blue which is confusing to someone who doesn't know the Interest spec.

For Pico I chose the latter because it's simpler, I don't have to deal with an enum.

@OlivierHecart OlivierHecart changed the base branch from protocol_changes_bad_main_merged to protocol_changes May 6, 2024 19:21
@OlivierHecart OlivierHecart marked this pull request as ready for review May 6, 2024 19:22
@OlivierHecart OlivierHecart added the enhancement Existing things could work better label May 7, 2024
@OlivierHecart OlivierHecart changed the title Interests Enhance subscribers, queryables and liveliness tokens propagation to improve scalability May 7, 2024
@OlivierHecart OlivierHecart merged commit cfb86a8 into protocol_changes May 13, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Existing things could work better
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Protocol update: Interests
4 participants