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: Pub/Sub link-aware publishers #42

Open
merklefruit opened this issue Dec 12, 2023 · 0 comments
Open

feat: Pub/Sub link-aware publishers #42

merklefruit opened this issue Dec 12, 2023 · 0 comments
Labels
A-socket Area: Sockets C-feature Category: Feature

Comments

@merklefruit
Copy link
Contributor

In order to implement link-aware optimisations (for instance, decide to compress messages over a link only if the latency over that link is greater than a specific threshold) we could implement the following:

  • all Publishers also subscribe to a "control topic"
  • all Subscribers also publish to that topic

Since every sub socket already retains its Stats, we would only need to publish aggregated statistics on a regular interval or every X messages received (aka "sampling").

This feature will allow for smarter, link-aware publishers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-socket Area: Sockets C-feature Category: Feature
Projects
None yet
Development

No branches or pull requests

1 participant