OpenShift Commons Briefing #69: gRPC Microservices on OpenShift with Ray Tsang (Google)
April 3, 2017 | by
OpenShift Commons Briefing Summary
In this briefing, Google's Ray Tsang discussed 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 take a deep dive into integration with existing build systems such as Maven and Gradle, but also frameworks such as Spring Boot and RxJava.
Configuring projects to generate gRPC stub code
Using Protobuf3 to define services
Creating synchronous and asynchronous services, with streaming
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.
The main usage scenarios:
Efficiently connecting polyglot services in microservices style architecture
Connecting mobile devices, browser clients to backend services
Generating efficient client libraries Core Features that make it awesome:
Idiomatic client libraries in 10 languages
Highly efficient on wire and with a simple service definition framework
Bi-directional streaming with http/2 based transport
Pluggable auth, tracing, load balancing and health checking
Learn more at the next OpenShift Commons Gathering in Austin Dec 5th
Red Hatters, CNCF/Kubernetes project leads and numerous other members of the OpenShift Commons will be gathering together in Berlin for the upcoming OpenShift Commons Gathering co-located with Kubecon at the Austin Convention Center.
Don't forget to leave your feedback and suggestions for each video or in the comments section below. This will be incredibly important to shape this Special Interest Group and create sessions that fit the demands of all the OpenShift developers in the community.
About OpenShift Commons
OpenShift Commons is the place for organizations that are part of the OpenShift community to connect with peers and other related open source technology communities to communicate and collaborate across all OpenShift projects and stakeholders.
The Commons' goal is to foster collaboration and communication between OpenShift stakeholders to drive success for all members, and expand & facilitate points of connection between members for sharing knowledge and experience to help drive success for the platform and for participants: customers, users, partners, and contributors.
While working on a Red Hat OpenStack related engagement with one of our customers, we did a Proof of Concept (PoC) with them where the scope was to set up Red Hat OpenStack in their environment and ...