-
Notifications
You must be signed in to change notification settings - Fork 12
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
Alternative IPC and messaging transports #136
Comments
An interesting protocol I recently started reading about is QUIC developed at google. It's branded as a multiplexed-UDP: a low latency TCP replacement and it's being slowly standardized and introduced to http infra on the internet. I'm actually pretty interested in the semantics of QoS / cancellation of sub-streams within connections since with Python sans-io implementation Here's a list of uses / example code:
|
@ryanhiebert it supposedly is sans-io as per:
Maybe I've misunderstood detailed semantics of There's an |
That's cool. Weird name for a sans-io package. So I guess we'd have to write the trio backend. |
Some further QUIC resources. From the wikipedia:
In short the protocol is implemented in user space meaning the stack needs to be fast and likely written in a faster language then python. There's a rust implementation |
Dropping this little project: |
Linking this with python-trio/trio#2047! |
Linking to #109 which includes localhost only options. we should probably break up the set of multi-host vs. local host options for investigation by some eager lurkerz 🏄🏼 |
Goal: To integrate a UDP based transport protocol in order to
improve resiliency and latency for multi-host IPC use cases.
NOTE LOTS OF EDITS by @goodboy (mostly summarized from below comments).
Here are the main few protocols which have caught our attenion:
DTLS, which
is soon to getnow has native support in trio!QUIC
anyio
issue for the sameQUIC
trio
we can definitely stick to the one-task-per-stream pattern easily.quiche
aioquic
hasasyncio
support using protocols, so we'll need to figure an alt to that fortrio
.hypercorn
's internal protocol supporttrio
supported udp serverucx-py
The text was updated successfully, but these errors were encountered: