~/talk

Yes, No, Maybe? Error Handling with gRPC Examples

Talkat SREcon19 Asia/Pacific · on Friday, 2019-06-14· at 15:00· Track 2: Room 331–332· [networking]
links:none on file
slides:none on file

Shows gRPC + protobuf code for a hello service, demonstrates that client and server often disagree on status (e.g. deadline mismatch where client sees DEADLINE_EXCEEDED but server may have completed work), and gives concrete fixes: check context cancelled on the server to avoid wasted work, set explicit statuses like use FAILED_PRECONDITION to tell clients not to retry, add proto hints, measure error types, and avoid exposing internal implementation details.

AI-written summary · about

  1. 0:00Intro
  2. 0:53Agenda
  3. 2:56Protocol Buffers
  4. 3:37Helper Code
  5. 4:10Implementation Code
  6. 6:52Status Code
  7. 7:55Logging
  8. 8:25Everything Else
  9. 8:47Maybe Examples
  10. 9:22Blue Set Example
  11. 12:26Waiting Time
  12. 13:02Exceeded Deadlines
  13. 13:33Best Practices
  14. 15:25Code Changes
  15. 16:42Hints
  16. 17:27Example
  17. 18:58Failed Precondition
  18. 20:24Error Codes
  19. 20:49Source of Truth
  20. 21:14Google Cloud
  21. 21:55Translator
  22. 22:54Default Arguments
  23. 23:53Guidelines
  24. 27:55Wrapup
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.