Architecture & BFFAcronym: gRPC

gRPC Remote Procedure Calls

Direct Definition

gRPC is a high-performance remote procedure call framework that uses Protocol Buffers for compact binary serialization and HTTP/2 for transport. Clients call typed methods on remote services as if they were local functions, making gRPC popular for internal microservice communication.

Technical Architecture & Deep-Dive

Originally developed at Google, gRPC generates client and server code from `.proto` contracts in many languages. Binary encoding and HTTP/2 multiplexing make it faster and smaller on the wire than JSON over HTTP/1.1.

Browsers cannot speak native gRPC directly, and many no-code platforms only understand JSON REST. Teams typically expose gRPC services to frontends through a gateway that translates to JSON, which is a natural responsibility for an edge BFF.

Key Architectural Benefits

Compact binary payloads reduce bandwidth between services.
Strongly typed contracts generate client code automatically.
Supports streaming in both directions over HTTP/2.
REALCOMPOSER EDGE WORKSPACE

Implement gRPC Remote Procedure Calls at the Edge

Deploy lightweight API aggregation, edge caching, and secret injection in minutes without Docker containers or complex servers.

START BUILDING FREE

Frequently Asked Questions

Q:Can a web frontend call gRPC directly?

Not natively. Browsers require gRPC-Web with a proxy, or a gateway that translates gRPC into JSON REST endpoints.

Related Architecture Concepts

Ready-to-Use Edge Recipes