Yes, No, Maybe? Error Handling with gRPC Examples
Offered By: USENIX via YouTube
Course Description
Overview
Explore error handling in gRPC with practical examples in this 33-minute conference talk from SREcon19 Asia/Pacific. Dive into the complexities of client-server communication when success isn't guaranteed, focusing on scenarios where clients and servers may interpret outcomes differently. Learn through simple code snippets and real-world examples how to effectively manage various error states, including status codes, logging practices, and handling timeouts. Discover best practices for implementing error handling in gRPC, with insights on code changes, guidelines, and leveraging Google Cloud services. Gain valuable knowledge on creating robust, fault-tolerant systems using gRPC, equipping yourself with strategies to gracefully manage errors and enhance overall system reliability.
Syllabus
Intro
Agenda
Protocol Buffers
Helper Code
Implementation Code
Status Code
Logging
Everything Else
Maybe Examples
Blue Set Example
Waiting Time
Exceeded Deadlines
Best Practices
Code Changes
Hints
Example
Failed Precondition
Error Codes
Source of Truth
Google Cloud
Translator
Default Arguments
Guidelines
Wrapup
Taught by
USENIX
Related Courses
How to Not Destroy Your Production Kubernetes ClustersUSENIX via YouTube SRE and ML - Why It Matters
USENIX via YouTube Knowledge and Power - A Sociotechnical Systems Discussion on the Future of SRE
USENIX via YouTube Tracing Bare Metal with OpenTelemetry
USENIX via YouTube Improving How We Observe Our Observability Data - Techniques for SREs
USENIX via YouTube