What is grpc?

A modern open-source high-performance Remote Procedure Call (RPC) framework.

🌐 Begriffe in anderen Sprachen:
Inhalt steht zur Übersetzung an. Die englische Version wird angezeigt.

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;

      

🧠 Wissenstest

1 / 1

🧒 Erkläre es wie einem 5-Jährigen

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](/de/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.

📚 Quellen