gRPC 101 for Spring Developers [Video]
gRPC makes mobile and HTTP/2 top priorities. It's more efficient than REST and is used to power mobile apps, real-time communication, and IoT.
Join the DZone community and get the full member experience.Join For Free
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 and 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 among multiple languages.
But beyond the 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, but also frameworks such as Spring Boot and RxJava.
Writing/using a Spring Boot starter to run a gRPC server.
Configuring projects to generate gRPC stub code.
Integrating w/ RxJava’s observable sequences, which matches very well with gRPC’s Stream Observable constructs.
Recorded at SpringOne Platform 2016
Speakers: Ray Tsang, Bret McGowen, Google
Published at DZone with permission of Pieter Humphrey, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.