grpc itself is a protocol that can be transported over basically anything, but http1.1 doesn't has the features needed. Http2 does.
However, someone wrote a gateway to translate grpc/protobuf to json over http1.1.
See https://github.com/gengo/grpc-gateway
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CANz%2BtPk7TYbXHcDuz%3DJm2A1uQQWgKqGWqHcOtjfq1EGA1ost5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
+grpc-io
hi michael,I'm a software engineer From China, now trying to use gRPC,and I've seen that gRPC fully support http2,my question is , does gRPC support HTTP1.1 or not?Thanks a lot.Robert
--
The gRPC protocol can be relatively easily adapted to HTTP/1.1. Almost every feature we are using in HTTP/2 is present, in some form, in HTTP/1.1 or is just a "nice to have". Bidirectional streaming is the only highly important feature I'm aware of that is not guaranteed to work in HTTP/1.1 (and we would believe many times it wouldn't work in HTTP/1.1).However, we aren't working on HTTP/1.1 support. It would be a considerable amount of work and we wouldn't be very happy with the result, as doing an RPC would be much more expensive and long-lived streaming RPCs would be required to consume a TCP connection. It wouldn't perform or scale to our expectations. Basically, HTTP/1.1 lacks the feature of "performance" in terms of concurrency, latency, and resource usage.If you need HTTP/1.1 we would suggest something like grpc-gateway. Or maybe, depending on your needs, a proxy that translates from HTTP/1.1 to HTTP/2.
--On Wed, Jun 24, 2015 at 11:06 PM, arcane crane <arcan...@gmail.com> wrote:hi guys,--I'm A software engineer.does gRPC compitable with http1.1, if not , will it support http1.1 in the future?thanksRobert.
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CANz%2BtPk7TYbXHcDuz%3DJm2A1uQQWgKqGWqHcOtjfq1EGA1ost5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oNdaLeBPRCmjBsdYCEp8Q%3DK762U4mH24eSWuJb_QUyzHw%40mail.gmail.com.