Overview
Direct Answer
gRPC is a high-performance remote procedure call framework developed by Google that uses Protocol Buffers for serialisation and HTTP/2 as its transport layer. It enables efficient communication between services by treating remote calls as local function invocations.
How It Works
gRPC leverages Protocol Buffers to define service interfaces and serialise data into a compact binary format, reducing payload size and parsing overhead. It operates over HTTP/2, enabling multiplexing of multiple requests over a single connection, server push, and header compression—collectively delivering lower latency and reduced bandwidth consumption compared to REST alternatives.
Why It Matters
Organisations adopt gRPC for inter-service communication in microservices architectures because it delivers measurably lower latency and higher throughput than REST APIs, reducing infrastructure costs and improving application responsiveness. Its language-agnostic contract-first approach simplifies integration across polyglot technology stacks.
Common Applications
gRPC is widely used in cloud-native systems, including Kubernetes component communication, distributed databases, machine learning model serving, and financial trading platforms requiring sub-millisecond latencies. It powers internal communication in systems handling high-frequency transactions and large-scale data streaming.
Key Considerations
gRPC's binary protocol complicates browser-based consumption and debugging compared to text-based REST; HTTP/2 dependency may introduce compatibility challenges in constrained network environments. Adoption requires standardised Protocol Buffer schema governance across teams.
More in Cloud Computing
Cloud Computing
Service ModelsThe delivery of computing services — servers, storage, databases, networking, software — over the internet on demand.
Infrastructure as Code
Deployment & OperationsManaging and provisioning computing infrastructure through machine-readable configuration files rather than manual processes.
Docker
InfrastructureA platform for developing, shipping, and running applications in isolated containers with consistent environments.
Internal Developer Portal
Deployment & OperationsA centralised web interface that provides developers with self-service access to infrastructure, services, documentation, and templates within their organisation.
Managed Service
Service ModelsA cloud service where the provider handles infrastructure management, maintenance, updates, and monitoring.
Virtual Machine
InfrastructureA software emulation of a physical computer that runs an operating system and applications independently.
Auto-Scaling
InfrastructureAutomatically adjusting compute resources based on current demand to maintain performance and optimise costs.
OAuth
Strategy & EconomicsAn open standard for token-based authentication and authorisation on the internet.