-
Notifications
You must be signed in to change notification settings - Fork 14
Bidirectional streaming? #53
Copy link
Copy link
Open
Labels
IPC and transportapidiscussionenhancementNew feature or requestNew feature or requestexperimentExploratory design and testingExploratory design and testinghelp wantedExtra attention is neededExtra attention is needed
Description
I've already left some notes in the code about how we could do two way streaming using the native received = yield sent generator semantics but it's probably worth looking at how other projects are approaching it and if it's even a good idea.
Some projects I found through different communities recently:
- bidirectional streaming in google's gprc
- streaming in
faust(though I think this is moreso a demonstration of a need for a properasyncitertools)
Another question is how to accomplish this with traditional messaging patterns like those found in nng. There was some suggestions in gitter about combining protocols/socket types.
More to come...
Update
The api I'm currently most convinced of is at this comment. Afaict it would also suffice the needs of #122 to some degree since cancelling a "context" would effectively be like cancelling a cross-actor scope.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
IPC and transportapidiscussionenhancementNew feature or requestNew feature or requestexperimentExploratory design and testingExploratory design and testinghelp wantedExtra attention is neededExtra attention is needed