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
Multi-Tenancy
Strategy & EconomicsA software architecture where a single instance serves multiple customers, with each tenant's data isolated and invisible to others.
Cloud-Native Development
Service ModelsAn approach to building applications that fully exploit cloud computing advantages including microservices, containers, dynamic orchestration, and continuous delivery.
Serverless Computing
Service ModelsA cloud execution model where the provider dynamically allocates resources, charging only for actual compute time used.
Docker
InfrastructureA platform for developing, shipping, and running applications in isolated containers with consistent environments.
Managed Service
Service ModelsA cloud service where the provider handles infrastructure management, maintenance, updates, and monitoring.
Serverless Database
Strategy & EconomicsA database service that automatically provisions, scales, and manages infrastructure on demand without manual server management.
Terraform
Deployment & OperationsAn open-source infrastructure as code tool for building, changing, and versioning infrastructure safely and efficiently.
Multi-Cloud
Strategy & EconomicsA strategy using services from multiple cloud providers to avoid vendor lock-in and optimise capabilities.