Command line clients for gRPC - polyglot

Polyglot was the second gRPC client that I looked at. One of the things that I liked about it is the fact that it does not need users to generate protoset files. It generates the protoset files in flight every time it runs. This, combined with the fact that it is written in Java does have a disadvantage - every time the client makes a call, it has to fire up a JVM, generate protosets and make the request.

You run polyglot by using the distributed polyglot jar. To list all the services available on an endpoint, polyglot can be executed as:

This was unexpected, as adding this capability to Polyglot should not be too diffcult, considering that they already support reflection for executing services. This is something that I am interested in implementing.

If you have questions or comments about this blog post, you can get in touch with me on Twitter @sdqali.