grpc
Installation
SKILL.md
gRPC
gRPC is a modern open-source high-performance Remote Procedure Call (RPC) framework that can run in any environment. It uses Protocol Buffers (Protobuf) as its Interface Definition Language (IDL).
When to Use
- Microservices Communication: Low latency, high throughput internal traffic.
- Polyglot Environments: Service A (Go) talking to Service B (Java).
- Streaming: Bidirectional streaming of data (e.g., Real-time voice/video metadata).
- Strict Contracts: When you need strict type safety across services.
Quick Start
// service.proto
syntax = "proto3";