Hacker News new | ask | show | jobs
by thwd 2795 days ago
HTTP/2 is only necessary if you want to stream, most of gRPC can be implemented over traditional request/response cycles.
1 comments

Technically it's not even required for that. HTTP/1.1 bodies can be streamed just fine. The main reason not to do this in a browser is that one real TCP connection would be required for each stream, and the number of concurrent outgoing connections from a website is strictly limited. With HTTP/2 this problem goes away.