GOTO 2020 • Cloud Native Communication Patterns with gRPC • Kasun Indrasiri

30:39 688 views 87% Published 4 months ago

This presentation was recorded at GOTOpia Europe 2020. #GOTOcon #GOTOpia

Kasun Indrasiri - Author of "Microservices for the Enterprise"

Real-World microservices implementations often use a variety of communication protocols and standards to build different services. Although RESTful services were quite popular during the early stages of microservices, it is quite inefficient for most inter-microservice communication scenarios. gRPC has emerged as an efficient, reliable, and robust way to build inter-microservice communication owing to its rich service definition capabilities with protocol buffers, a variety of language support, and performance of being built on top of HTTP2.
In this session, we cover how different cloud native communication patterns can be implemented with gRPC. You can learn when and how to use gRPC Interceptors, Deadlines, Cancellation, Error Handling, Multiplexing, and Metadata [...]

00:00 Intro
01:10 What is gRPC?
04:48 Fundamentals of gRPC - service definition
05:45 Fundamentals of gRPC - gRPC service
07:11 Fundamentals of gRPC - gRPC client
07:40 Why gRPC?
10:00 gRPC vs. OpenAPI/REST vs. GraphQL
11:51 gRPC in the microservices landscape
14:18 Unary/simple RPC
15:33 Server streaming RPC
17:04 Client streaming RPC
18:04 Bidirectional-streaming RPC
19:59 gRPC interceptors
21:18 Deadlines
22:02 Metadata
22:54 Multiplexing
23:31 Cancellation
24:27 API specification with gRPC
25:45 API versioning with gRPC
27:18 Extending service definition
27:59 Securing gRPC services with OAuth2
28:38 REST/Open API - gRPC Bridge
29:47 Resources

Download slides and read the full abstract here:
#CloudNative #gRPC #Microservices #HTTP2 #OAuth #OAuth2 #RPC #OpenAPI #GraphQL #REST #API #APIs

Looking for a unique learning experience?
Attend the next GOTO conference near you! Get your ticket at

SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.

Watch on YouTube