Skip to main content

gRPC deep dive: from service definition to wire format

Lars
Lars

In our previous posts (part 1 and part 2), we demystified Protocol Buffers and learned how data is encoded into compact binary.

But Protobuf is just the payload. To send this data between microservices, we need a transport protocol. Enter gRPC.

While many developers use gRPC daily, few look under the hood to see how it actually works. In this post, we’ll go beyond the basics and explore the full gRPC protocol stack: from the high-level service architecture and streaming models down to the low-level HTTP/2 framing and byte-level wire format.

Looking back on 2025

Silvan
Silvan

4.75 million invoked operations, over 5,000 monthly active users and 3 releases. These are some key facts about the past year.

Transfering files with gRPC

Manuel
Manuel

Is transfering files with gRPC a good idea? Or should that be handled by a separate REST API endpoint? In this post, we will implement a file transfer service in both, use Kreya to test those APIs, and finally compare the performance to see which one is better.

Catching API regressions with snapshot testing

Manuel
Manuel

API development is a high-wire act. You’re constantly balancing new feature delivery against the terrifying possibility of breaking existing functionality. Testing, for example manually writing assertions for every field you expect back, is your safety harness. But what happens when the response payload is 500 lines of complex nested JSON? Your harness becomes a tangled mess of brittle code that takes longer to maintain than the feature itself. This is where snapshot testing shines, but it also has drawbacks of its own. Let's take a look.

5 Best API Testing Tools

Justin
Justin

API testing is a critical aspect of modern development. The right tools enable faster, automated and more reliable API testing.

In this comparison, we look into the following 5 API testing tools: Kreya, Postman, Bruno, Insomnia, and HTTPie.

Kreya 1.18 - What's New

Lars
Lars

Kreya 1.18 brings powerful new ways to visualize and validate your API workflows: Data Previews and Snapshot Tests. These features make it easier than ever to understand your API responses and ensure your integrations remain stable over time.

Import HAR Files in Kreya: Debug APIs & gRPC-Web

Lars
Lars

Kreya has introduced a powerful new feature: HAR file import! This update makes analysing, replaying and debugging HTTP and gRPC-Web requests directly in Kreya easier than ever. In this post, we’ll show you how to export HAR files from browsers and import them into Kreya. We will also explain why this is a secure and essential workflow for developers, particularly those working with gRPC-Web APIs.

Kreya 1.17 - What's New

Silvan
Silvan

Kreya 1.17 comes with the new Kreya Script, which can control operation invocation with JavaScript. Support has been added for importing HAR files, the JWT auth provider, exporting operations as cURL and gRPCurl commands and many more features have been implemented.