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

Extend query functionality to support streams #1639

Open
skreborn opened this issue Dec 8, 2024 · 0 comments
Open

Extend query functionality to support streams #1639

skreborn opened this issue Dec 8, 2024 · 0 comments
Labels
new feature Something new is needed

Comments

@skreborn
Copy link

skreborn commented Dec 8, 2024

Currently, Zenoh only supports a simple query mechanism where the client sends a single message and the server (or multiple servers) sends back one or more responses before closing the query.

However, all the responses from a single server are delivered to the client at the same time - they are buffered and sent as one instead of being continuously streamed. This means that query handlers both can't receive or reply with a stream of messages.

A good model that supports all combinations of single and streaming inputs and outputs is gRPC. It practically has everything I wish Zenoh provided with the query functionality.

Of course, the reason I use Zenoh is for its distributed fashion and versatility, and I understand that this model comes with its own challanges. Something to decide is what happens if multiple query handlers reply to the same request, and I hope that implementing multiple response streams is a possibility.

@skreborn skreborn added the new feature Something new is needed label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Something new is needed
Projects
None yet
Development

No branches or pull requests

1 participant