🔌gRPC
Also known as gRPC API, Google RPC, gRPC-Web
A fast way for one service to call another. Its messages are small.
Think of it like
Think of it like sending notes in a secret shorthand. Both sides know the code, so notes are tiny and fast.
Example
Jack's 12 back-end services talk to each other with gRPC. One .proto file keeps every service's Go and Python code in step.
Why it matters
Its messages are smaller and faster than JSON. The shared file also catches wrong fields before the code runs.
Definition
Common mistake
Key takeaways
- 1A shared .proto file. Describes every call.
- 2Binary messages. Small and fast.
- 3Service to service. Its usual home.