3 ms·
HTTP/2 is only necessary if you want to stream, most of gRPC can be implemented over traditional request/response cycles.
by thwd 8y ago
HTTP/2 is only necessary if you want to stream, most of gRPC can be implemented over traditional request/response cycles.
- Matthias247 8y agoTechnically 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.