diplomat icon indicating copy to clipboard operation
diplomat copied to clipboard

Switch to gRPC API

Open peburrows opened this issue 7 years ago • 4 comments

Once River is ready, we'll use that as the basis for our gRPC support.

peburrows avatar Sep 07 '16 05:09 peburrows

Is diplomat currently using grpc? Or is it making requests over http?

mitcheaton1 avatar Jul 26 '17 23:07 mitcheaton1

Diplomat currently talks to Google over http/1.1. My progress on River (my http/2 client) has stalled a bit because of lack of time, but my hope is to pick it back up again soon. Once River is finished, switching Diplomat to full grpc should be pretty straightforward since it already uses the protobuf APIs.

peburrows avatar Jul 27 '17 01:07 peburrows

There are a few existing HTTP2 clients in the Erlang ecosystem, could we possibly use one of those?

https://github.com/ninenines/gun https://github.com/CrowdHailer/Ace

lpil avatar Mar 06 '18 14:03 lpil

Most recently, my plan has shifted to use https://github.com/tony612/grpc-elixir for the grpc piece. Under the hood, it currently uses chatterbox, but that's not really of consequence to Diplomat.

peburrows avatar Mar 08 '18 14:03 peburrows