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
- SOAP
- HTTP (REST)
- WebSockets
Client Libraries
gRPC
gRPC Demo
- todos
gRPC Pros and Cons
Pros
- 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
Cons
- 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
[ Ссылка ]
Resources
[ Ссылка ]
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
Canva
[ Ссылка ]
🎙️ Mic Gear
Shure SM7B Cardioid Dynamic Microphone
[ Ссылка ]
Cloudlifter
[ Ссылка ]
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,
Hussein
Ещё видео!