gRPC 101 for Java developers- building fast and efficient microservices

by Ray Tsang 

Friday, 09 June 2017 13.30 @ Room 3

gRPC is a high performance, open source, general RPC framework that puts mobile and HTTP/2 first. gRPC is based on many years of Google’s experience in building distributed systems – it is designed to be low latency, bandwidth and CPU efficient, to create massively distributed systems that span data centers, as well as power mobile apps, real-time communications, IoT devices and APIs. It’s also interoperable between multiple languages.

But beyond that fact that it’s more efficient than REST, we’ll look into how to use gRPC’s streaming API, where you can establish server-side streaming, client-side streaming, and bidirectional streaming! This allows developers to build sophisticated real-time applications with ease.

In addition to learning about gRPC and HTTP/2 concepts with code and demonstrations, we’ll also deep dive into integration with existing build systems such as Maven and Gradle
– Configuring projects to generate gRPC stub code
– Using Protobuf3 to define services
– Creating synchronous and asynchronous services, with streaming.
– Load balancing
– Deadline
– Interceptor patterns