Microservices: gRPC or REST? Why not both?

A session at API Strategy and Practice Conference 2016

Thursday 3rd November, 2016

3:05pm to 4:35pm (EST)

Building APIs for microservices can be a challenge. They have to be well designed, easily understandable, and highly performant. The tried and true platform for modern APIs is JSON/REST, but the ridiculous demands that a microservices architecture places on the network and API stack has made many of us look to new open source technologies such as HTTP/2, Protobuf, and gRPC. With features like bi-directional streaming and binary compression, gRPC is an great choice for microservice deployments. However, migrating to new technologies can be a challenge, especially in a microservices world. They lack the robust tooling and ecosystems provided by JSON/REST, and the other microservices may depend on it, make moving to a pure gRPC implementation difficult.

In this talk, I'll show you how you can build a gRPC endpoint that can intelligently serve gRPC over HTTP/2 while simultaneously serving JSON/REST over HTTP/1.1 on the same port! Then, I'll walk through some benchmarks and best practices for deploying these microservices in a scalable way.

About the speaker

This person is speaking at this event.
Sandeep Dinesh

Developer and Advocate @ Google Cloud Platform, Car Enthusiast, Gamer, Gym Rat, Entrepreneur

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 3:05pm4:35pm EST

Date Thu 3rd November 2016

Short URL


Official event site


View the schedule


See something wrong?

Report an issue with this session