gRPC Crash Course – Modes, Examples, Pros & Cons and more

gRPC (gRPC Remote Procedure Calls) is an open source remote procedure call (RPC) system initially developed at Google in 2015. It uses HTTP/2 for transport, Protocol Buffers as the message format.

⏰ Timecode ⏰
0:00 Intro
04:30 Motivation behind gRPC
8:40 The problem with client libraries
16:40 gRPC Modes
17:20 Unary
17:40 Server streaming
18:30 Client streaming
19:10 Bidirectional
19:49 gRPC Coding Example!
57:00 gRPC Pros and Cons
01:12:30 Why you shouldn’t invent your own Protocol

In this video I want to explore gRPC, go through examples, pros and cons of gRPC.

Client/ Server communication
– WebSockets
Client Libraries
gRPC Demo
– todos
gRPC Pros and Cons
– Fast two/uni and request
– Unform
– One library to rule them all
– Progress feedback( long synchronous requests) drop pluggable wait…)
– cancel request
– All benefits of H2 and Protobuff

– schema based (not everyone wants schema)
– Thick client – limited languages – Proxies still don’t understand it
– Still young
– Error handling
– No native browser support
– Timeouts, circuit breaker just like any RPC (pub/sub rules in this case)

Can you create your own protocol?
– Spotify example with Hermes

Source Code


Haproxy grpc

Nginx grpc

Support my work on PayPal

Become a Member on YouTube

🧑‍ Courses I Teach

Backend Engineering Videos in Order

Database Engineering Videos

️Listen to the Backend Engineering Podcast

Gears and tools used on the Channel (affiliates)

️ Slides and Thumbnail Design

️ Mic Gear
Shure SM7B Cardioid Dynamic Microphone


XLR cables

Focusrite Audio Interface

Camera Gear
Canon M50 Mark II

Micro HDMI to HDMI

Video capture card

AC Wall for constant power

Stay Awesome,


Leave a Reply

Your email address will not be published. Required fields are marked *