The Backend Engineering Show with Hussein Nasser
Episode 134 - gRPC

Episode 134 - gRPC

The Backend Engineering Show with Hussein Nasser

1:19:37

About this episode

gRPC (gRPC Remote Procedure Calls[1]) is an open source remote procedure call (RPC) system initially developed at Google in 2015[2]. It uses HTTP/2 for transport, 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

More from The Backend Engineering Show with Hussein Nasser

I discuss the state of what will be happening in the coming few years and why I encourage the 3 of you who want to be elite engineers to keep their critical thinking sharp. To pause and think before p…

9m

This is a conversation with Rashed Hasan, a PhD Candidate from the University of Nebraska. We chatted about databases, ORMs and how to use AI without losing yourself. Rashed pagehttps://www.mdrashedul…

56m

SQL was a mistake

I like SQL but the standard should have included ways to hint instead of the abstraction of "let me do it for you"

12m

In this episode I explore why you should take some time to examine the operation you are caching before doing so. And why caching is a cop-out

15m