~/talk

gRPC and Go: Developing Efficient and Type-Safe Services

Talkat Open Source Summit North America 2017 · 2017-09-11..09-14· [go]
links:none on file
slides:none on file

Claims gRPC replaces JSON/REST with protobuf IDL + HTTP/2 binary framing to cut latency and memory. Demo compiles a .proto with protoc into Go stubs, implements a currency-lookup service reading CSV, registers server, and a client dials and prints results; it works end-to-end. Shows server, client and server streaming examples, TLS via credentials APIs, context deadlines for timeouts, structured gRPC error codes. Benchmarks claim JSON RPC took ~8m7s vs gRPC ~36s; allocations down ~23% and memory use ~40% lower.

AI-written summary · about

  1. 0:00Intro
  2. 1:09Objectives
  3. 1:28Minimize Complexity
  4. 2:27The Situation Today
  5. 3:57Scenario - A Currency Service
  6. 4:37The Problem
  7. 10:31A Self-Discoverable REST API
  8. 12:25Attempts at solving this problem
  9. 20:12Performance Examples - Dashboard
  10. 23:36Creating a gRPC Service
  11. 23:56IDL for Currency Service
  12. 25:32Compile IDL into Code (Go language example)
  13. 26:27Implement Service Methods (Go language example)
  14. 28:12Calling Service from Client
  15. 30:28Update IDL for Streaming
  16. 31:40A Server Stream Example - Server
  17. 32:19A Server Stream Example - Client
  18. 33:56TLS Setup - Server
  19. 34:23TLS Setup - Client
  20. 34:48RequestTimeouts
  21. 38:14Extracting Objects from Error
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.