Put open source to work
July 16–17, 2018: Training & Tutorials
July 18–19, 2018: Conference
Portland, OR

Reactive microservice end to end from RxJava to the wire with gRPC

Ryan Michela (Salesforce)
4:15pm4:55pm Thursday, July 19, 2018
Distributed computing
Location: Portland 255
Level: Beginner
Average rating: *****
(5.00, 1 rating)

Who is this presentation for?

  • Developers

Prerequisite knowledge

  • Familiarity with Java

What you'll learn

  • Understand gRPC basic concepts
  • Learn how to use RxJava with gRPC and how to implement and handle backpressure for reactive microservices


Are you trying to move beyond REST for your internal services? Ryan Michela offers an overview of binary-based protocol gRPC—a new high-performance, universal open source RPC framework built on top of protocol buffers and HTTP/2—and explains how its built-in features allow you to build reactive services that can support RxJava and handle back pressure natively over the wire.

gRPC makes building scalable, efficient microservices fast and easy, and it’s also more efficient than REST. Ryan walks you through using gRPC’s streaming API, which you can use to establish server-side streaming, client-side streaming, and bidirectional streaming, enabling you to build sophisticated, real-time, reactive microservices with ease.

But there’s more. gRPC has built-in flow control to handle backpressure natively in server-to-client streaming, client-to-server streaming, and bidirectional streaming scenarios. You’ll learn how Salesforce has contributed to the gRPC ecosystem with its Java-based gRPC code generator and how it tied up the last mile with a RxJava2 binding to gRPC so that you can create native backpressure-aware reactive microservices at the wire level.

Photo of Ryan Michela

Ryan Michela


Ryan Michela is a principal member of the technical staff at Salesforce, where he’s working to integrate the Salesforce ecosystem with microservices. His passions are distributed systems and helping other developers become better. When he’s not digging into the heart of software, Ryan enjoys hiking and exploring the world.