Open kragniz opened 7 years ago
An alternative approach would be to build a custom backend on top of protobufs and something like hyper-h2 that implements just the portions of HTTP/2 that are required for use with grpc. My understanding is that that's a fairly restricted subset, so hyper-h2 should be a good fit.
build a client based on gRPC-JSON-Gateway https://github.com/Revolution1/etcd3-py, which is http backended
btw: https://github.com/vmagamedov/grpclib a Pure-Python gRPC implementation https://github.com/grpc/grpc/issues/4629 official eventlet support is on the way
gRPC is nice, but is awkward to deploy in some situations (using eventlet, running on musl libc, and other problems with the C library). The HTTP proxy API appears to be in a better state these days, so a backend could be created to only communicate using that.
This would expose the same python API.