Bastian Eicher
Designing gRPC APIs - The things they don't tell you
#1about 2 minutes
Combining resource-oriented design with RPC in gRPC
gRPC uses remote procedure calls, but adopting a resource-oriented design philosophy improves API consistency and predictability.
#2about 5 minutes
Choosing a repository structure for your gRPC project
Evaluate different repository strategies, such as a dedicated proto repo or a monorepo, to manage API definitions and generated code effectively.
#3about 2 minutes
Using linters to enforce API design consistency
Use a linter like Buff to enforce consistent API design rules, but understand the rationale behind warnings to know when they can be safely ignored.
#4about 2 minutes
Understanding the wire format to avoid breaking changes
The gRPC wire format uses integer keys instead of message names, which allows for evolving message types without causing a breaking change for older clients.
#5about 5 minutes
Evolving an API without versioning using a fallback pattern
Instead of versioning, evolve an API by deprecating old methods and adding new ones, while clients use a try-catch fallback to handle older server versions gracefully.
#6about 2 minutes
Handling optional fields and nullable types in Protobuf
Be aware that the `optional` keyword and wrapper types for nullability behave differently across programming languages, affecting client-side code.
#7about 3 minutes
Using the richer error model for detailed error handling
Move beyond simple status codes by using the richer error model to send structured, machine-readable error details in a backward-compatible way.
#8about 2 minutes
Implementing authentication in gRPC services
Leverage existing web framework authentication mechanisms or pre-shared keys, and ensure unauthenticated responses include the correct gRPC headers to be compliant.
Related jobs
Jobs that call for the skills explored in this talk.
Sopra Steria Custom Software Solutions GmbH
München, Germany
€78-100K
Senior
Java
JavaScript
+3
Matching moments
04:30 MIN
Understanding browser APIs that rely on company services
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
01:15 MIN
Crypto crime, EU regulation, and working while you sleep
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
04:02 MIN
How a broken frontend culture impacts the web
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
02:48 MIN
Building trust through honest developer advocacy
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
03:05 MIN
Building collaborative design tools and the neo-brutalism trend
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
05:12 MIN
How to build structure and culture without killing agility
From Data Keeper to Culture Shaper: The Evolution of HR Across Growth Stages
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
Featured Partners
Related Videos
The Great API Debate: REST, GraphQL, or gRPC?
Alexis Yushin
REST in Peace? What does the API protocol of the future look like? Or do we have it already?
Simon Auer
Evolving your APIs, a step-by-step approach
Nicolas Fränkel
Awful APIs: A History Lesson in Industry Mistakes and Mishaps
James Seconde
gRPC Load Balancing Deep Dive
Max Hausner & Yves Fauser
tRPC: API schemas are pure overhead
Giorgio Boa
GraphQL: Does it replace SQL, REST or Something Else?
Gregor Bauer
API = Some REST and HTTP, right? RIGHT?!
Rustam Mehmandarov
Related Articles
View all articles

.gif?w=240&auto=compress,format)

From learning to earning
Jobs that call for the skills explored in this talk.

Grühn GmbH
Aachen, Germany
€75-90K
Kubernetes
Microservices
Software Architecture
Configuration Management

Grühn GmbH
Köln, Germany
€75-90K
Kubernetes
Microservices
Software Architecture
Configuration Management

Grühn GmbH
Nürnberg, Germany
€75-90K
Kubernetes
Microservices
Software Architecture
Configuration Management

Grühn GmbH
Wiesbaden, Germany
€75-90K
Kubernetes
Microservices
Software Architecture
Configuration Management

Grühn GmbH
Düsseldorf, Germany
€75-90K
Kubernetes
Microservices
Software Architecture
Configuration Management

Grühn GmbH
Würzburg, Germany
€75-90K
Kubernetes
Microservices
Software Architecture
Configuration Management


Aschert & Bohrmann GmbH
Köln, Germany
API
.NET
.NET Core
Software Architecture

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript