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
Disaster Recovery as a Service
Deployment & OperationsA cloud computing model that enables the replication and recovery of infrastructure and data in the cloud.
Docker
InfrastructureA platform for developing, shipping, and running applications in isolated containers with consistent environments.
Availability Zone
InfrastructureAn isolated location within a cloud region with independent power, cooling, and networking for high availability.
Spot Instance
Service ModelsA cloud computing option that uses spare capacity at significantly reduced prices with the possibility of interruption.
Infrastructure as Code
Deployment & OperationsManaging and provisioning computing infrastructure through machine-readable configuration files rather than manual processes.
Cloud Workload Protection
Strategy & EconomicsSecurity solutions designed to protect server workloads running in cloud environments, providing vulnerability management, runtime protection, and compliance monitoring.
Spot Instances
Service ModelsSpare cloud computing capacity offered at steep discounts compared to on-demand pricing, available when the provider has excess resources but subject to interruption.
Cloud Repatriation
Strategy & EconomicsThe process of moving workloads back from public cloud environments to on-premises or private cloud infrastructure.