# Episode 134 - gRPC

> Episode of [The Backend Engineering Show with Hussein Nasser](https://podistic.com/podcast/the-backend-engineering-show-with-hussein-nasser.md) · Published February 29, 2020 · Duration 1:19:37

- **Listen on Podistic:** https://podistic.com/episode/episode-134-grpc
- **Audio:** https://traffic.megaphone.fm/APO1854669984.mp3 (audio/mpeg)

## About this episode

**gRPC** (**gRPC** **Remote Procedure Calls**\[1\]) is an [open source](https://en.m.wikipedia.org/wiki/Open-source_software) [remote procedure call](https://en.m.wikipedia.org/wiki/Remote_procedure_call) (RPC) system initially developed at [Google](https://en.m.wikipedia.org/wiki/Google) in 2015\[2\]. It uses [HTTP/2](https://en.m.wikipedia.org/wiki/HTTP/2) for transport, [Protocol Buffers](https://en.m.wikipedia.org/wiki/Protocol_Buffers) as the message format.

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
