</> MAANG.io
system design Β· 101

Foundations

Master system design interviews with scalable architecture patterns, distributed systems, and real-world design challenges.

0/81 solved 0% complete

gRPC β€” Part 2: Architecture, HTTP/2, Protobuf & Streaming

What is this?

In Part 1 we said gRPC lets you call a remote method like a local function β€” the phone extension to a colleague's desk. This part is about how the phone line is built. Why does the call feel instant? Why is the payload so small? How can both people talk at once without taking turns?

The one-line idea: gRPC's speed comes from two engineering choices stacked together β€” HTTP/2 (one connection, many simultaneous conversations) underneath Protocol Buffers (compact binary instead of chatty text) β€” and its flexibility comes from four streaming modes layered on top.

Let's open each layer.


Sign in to continue reading

The rest of this lesson is available with a free account. Signing in with Google or Microsoft is free.

Sign in to read the full lesson

Sign in to MAANG.io

Use your Google or Microsoft account β€” no password to remember.

Continue with Google Continue with Microsoft

Please accept the terms above to continue.