Beginner8 min readNetworking & Communication
gRPC
Comparing API protocols, protocol buffers, and remote procedure executions.
What you'll learn
- REST
- gRPC / RPC
TL;DR
Comparing API protocols, protocol buffers, and remote procedure executions.
Concept Overview
REST vs. RPC (Remote Procedure Call) / gRPC represents the architectural API protocol decision for client-server and microservice communications.
Key Architectural Pillars
1
REST
Resource-oriented API using standard HTTP verbs (GET, POST, PUT, DELETE) and readable JSON text payloads.
2
gRPC / RPC
Action-oriented protocol running on HTTP/2, utilizing Protocol Buffers (Protobuf) for compact binary serialization.
More in this module
OSI Model
The seven-layer design abstraction standardizing physical packet transport up to user interfaces.
IP Address
Demystifying IPv4, IPv6, routing blocks, subnets, and packet header structures.
TCP vs UDP
Comparing strict, handshake-established byte streams against fast, lightweight fire-and-forget datagram delivery.
