~/talk

gRPC, protobuf, and Go

Talkat Nerdearla 2023 · 2023-09-26..09-30· [go]
links:none on file
slides:none on file

Workshop shows building a gRPC service in Go that logs entries: a unary, client-streaming, server-streaming RPCs surface for single logs, batch uploads, and "get logs by app" retrieval. It uses proto3 files and protoc + Go protobuf plugin to generate Go types and server/client stubs, runs on Go 1.19+, and tests with grpcurl/grpc UI. Implementation stores entries in-memory with sync.Mutex-protected slice, simulates workload with time.Sleep, and demonstrates forward compatibility by embedding UnimplementedLoggerServer.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:11About the speaker
  3. 2:37Workshop goals
  4. 4:44Protocol Buffers basics
  5. 10:48Proto features and benefits
  6. 13:21gRPC fundamentals
  7. 19:18When to use gRPC
  8. 21:53Go language overview
  9. 26:38Practical setup
  10. 30:59Environment configuration
  11. 35:01Creating the proto file
  12. 40:06Generating code with protoc
  13. 46:22Implementing the gRPC server
  14. 51:47Adding custom logic
  15. 54:23Testing the server
  16. 58:21Implementing log storage
  17. 1:00:13Adding batch logging
  18. 1:05:04Streaming responses
  19. 1:14:11Retrieving logs by app
  20. 1:21:27Using grpcurl for testing
  21. 1:24:19Q&A session
~/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.