IT Glossary
What is gRPC?
A fast communication protocol created at Google, used mainly between the internal services of systems built as microservices.
Most discussion of APIs concerns the traffic you can see — a browser or a mobile app talking to a server. gRPC lives in the traffic you cannot: services inside a system calling each other, often thousands of times to serve one customer request, where the overhead of each call is multiplied by an uncomfortable number. It addresses that with three choices. Messages travel in a compact binary format rather than as text, which shrinks them substantially. Connections are reused and multiplexed over modern transport, removing per-call setup. And every service publishes its interface in a formal definition file from which client and server code is generated automatically, in whichever language each team uses. That last point is the one with commercial consequences. The interface between two services becomes a checked contract rather than a document somebody hopes is current, so a breaking change is caught at build time instead of at midnight in production. The trade-off is that gRPC is unfriendly to browsers, awkward to inspect by hand, and unnecessary for a system of modest size — which is why it is the right answer for internal high-volume traffic and the wrong answer for a public partner API.
Let’s talk about your project
Message us on WhatsApp or send an email — you talk directly to a developer.
office@northdan.com · +40 752 070 247
Why it matters for your business
Speed where internal traffic is heavy
Compact binary messages and reused connections cut latency and bandwidth on the calls that happen thousands of times per transaction.
A strict contract catching errors early
Generated code from a shared interface definition means an incompatible change fails the build rather than surfacing in production.
Services in different languages, no friction
Teams write in whichever language suits their component while the generated clients keep communication consistent between them.
Frequently asked questions
When do we choose gRPC and when REST?
Choose gRPC for internal service-to-service traffic at volume, for streaming, and where strict typing across languages matters. Choose REST for anything a browser touches directly, for public and partner APIs, and for integrations where the other side wants to test with ordinary tools. A common shape is REST at the boundary of the system and gRPC behind it.
Can a browser talk to gRPC directly?
Not natively, because browsers do not expose the low-level control the protocol requires. The practical routes are gRPC-Web, which needs a proxy translating between the browser and the backend, or a gateway that presents conventional REST or GraphQL to the outside while speaking gRPC internally. Most teams take the second route, since it also gives a clean place to enforce authentication.
What are Protocol Buffers?
The interface definition language and binary format underneath gRPC. You describe messages and service methods in a short definition file, and a compiler generates the data classes and client stubs for every language you need. The file becomes the single authoritative description of the interface, versioned alongside the code — which is why it is worth asking for in any handover of a microservice system.
Let’s talk about your project
Message us on WhatsApp or send an email — you talk directly to a developer.
office@northdan.com · +40 752 070 247