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

quic and http3 plans #66

Closed
avrecko opened this issue Aug 2, 2022 · 6 comments
Closed

quic and http3 plans #66

avrecko opened this issue Aug 2, 2022 · 6 comments
Labels

Comments

@avrecko
Copy link
Contributor

avrecko commented Aug 2, 2022

Do you have any plans to add quic and http3 support?

@apangin
Copy link
Member

apangin commented Aug 5, 2022

Yes, there are long-term plans for that, but it's unlikely that a production-ready solution will appear here in the nearest months.

@avrecko
Copy link
Contributor Author

avrecko commented Aug 5, 2022 via email

@apangin
Copy link
Member

apangin commented Aug 5, 2022

I'd say, RPC is NOT a good example for QUIC (if we talk about RPC in the context of communication between microservices).

QUIC is mostly beneficial for end user experience, especially when used over mobile and wireless networks. In a datacenter, where you have a high-bandwith wired connection, where a packet loss is rare, QUIC is just an unnecessary waste of resources. Basic TCP/TLS gives you higher throughput, while consuming much less CPU.

@apangin
Copy link
Member

apangin commented Aug 5, 2022

To extend my previous message: nearly all benefits of QUIC are useless in the RPC scenario:

  • Zero RTT: not important, since a connection to another service is typically opened once and kept for the service lifetime.
  • Multiplexing: not needed, as there is no problem in opening a large pool of connections.
  • Head-of-line blocking: not relevant, parallel requests simply use different connections.
  • Connection migration: not needed, there are no mobile <-> wi-fi transitions.
  • Congestion control: makes much more sense for wireless networks.

@avrecko
Copy link
Contributor Author

avrecko commented Aug 6, 2022 via email

@apangin
Copy link
Member

apangin commented Aug 6, 2022

300 ms RTT is the opposite side of the globe. I just don't have experience of doing RPC in such configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants