December 4, 2019

174 words 1 min read

A Brokerless REST Interface for gRPC Services

A Brokerless REST Interface for gRPC Services

gRPC is gaining traction due to its cross-platform, schema-driven interface design, efficiency, and use of HTTP/2. However, transitioning from REST to gRPC has some pain points due to missing alternat …

Talk Title A Brokerless REST Interface for gRPC Services
Speakers Roman Zimine (Software Engineer, Turbonomic)
Conference KubeCon + CloudNativeCon Europe
Conf Tag
Location Copenhagen, Denmark
Date Apr 30-May 4, 2018
URL Talk Page
Slides Talk Slides
Video

gRPC is gaining traction due to its cross-platform, schema-driven interface design, efficiency, and use of HTTP/2. However, transitioning from REST to gRPC has some pain points due to missing alternatives for commonly-used tools. Sending free-form JSON over cURL does not work. There is no integration with Swagger/OpenAPI. Polished alternatives to GUIs like Postman or Swagger UI don’t exist. Providing a REST interface over the gRPC services can solve these problems. We present a brokerless solution, using a Protobuf compiler plugin to generate a library of RESTful controllers with Swagger/OpenAPI documentation. This allows each microservice to expose both a REST and gRPC interface with no extra effort.

comments powered by Disqus