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

uE Liveliness using uSubscription #148

Open
stevenhartley opened this issue May 16, 2024 · 0 comments
Open

uE Liveliness using uSubscription #148

stevenhartley opened this issue May 16, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@stevenhartley
Copy link
Contributor

stevenhartley commented May 16, 2024

uProtocol is SOA 2.0 (event-based service oriented architecture) meaning, there are no logical connections between uEs, only messages sent across the various heterogeneous systems (ex. publish, notification, request, response).

In some scenarios, a service needs to know when clients disappear (terminated unexpectedly), this is to allow services to cleanup any active session (ex. turning on/off cameras). Today the only way to know for a service to be sure that the client is alive is if the client calls the service RPC periodically (watchdog), this is not efficient or ideal.

The pub/sub architecture pattern implemented through uSubscription provides the means for subscribers to subscribe either temporally or permanently to topics. Publishers can register to receive subscription change notifications whenever a subscriber has changed their subscription (subscribe() and unsubscribe()). Unfortunately the current uSubscription specification does not state how to handle terminated subscribers who are subscribed with temporal subscriptions nor how to detect liveliness.

We will propose a liveliness detection mechanism using uSubscription in this issue.

TODO: Fill out details explanation here

@stevenhartley stevenhartley added documentation Improvements or additions to documentation enhancement New feature or request v1.5.9 labels May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant