What is grpc?
A modern open-source high-performance Remote Procedure Call (RPC) framework.
gRPC is a framework developed by Google to connect services with very high performance. It uses HTTP/2 for transport and Protocol Buffers (Protobuf) instead of JSON for data serialization. This makes it much faster and more efficient than traditional REST APIs.
graph LR
Center["What is grpc?"]:::main
Rel_rpc_node["rpc-node"]:::related -.-> Center
click Rel_rpc_node "/terms/rpc-node"
Rel_ssh["ssh"]:::related -.-> Center
click Rel_ssh "/terms/ssh"
Rel_rpc_nodes["rpc-nodes"]:::related -.-> Center
click Rel_rpc_nodes "/terms/rpc-nodes"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧠 Prueba de conocimiento
🧒 Explícalo como si tuviera 5 años
gRPC is like a special, high-speed language that computers use to talk to each other. Instead of using a slow language like a long letter (JSON), they use a very short, coded language (Protobuf). It's much faster and they can send many messages back and forth at the same time over the same 'phone line' ([HTTP](/es/terms/http)/2).
🤓 Expert Deep Dive
gRPC features include bi-directional streaming, flow control, and automatic code generation for many languages. Because Protobuf is binary, the payloads are smaller than JSON, making gRPC ideal for internal 'East-West' traffic between microservices where latency must be kept at a minimum.