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.
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.
©2018, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • email@example.com