~/talk

.NET gRPC - deep dive

Talkat NDC London 2024 · 2024-01-29..02-02· [api-design, dotnet]
slides:none on file

Covers how .NET implements gRPC with Protocol Buffers, HTTP/2 transport and protobuf codegen, demonstrating 4 RPC modes (unary, server‑streaming, client‑streaming, bidi) with console client/server examples; shows metadata/ trailers, the ~16 gRPC status codes and RpcException handling, configurable max message size and compression, and retry vs hedging policies (including the grpc previous‑attempt header). Explains gRPC transcoding to expose JSON/HTTP endpoints, client‑side load balancing (round‑robin, pick‑first, custom resolvers), server reflection/Postman support, and tradeoffs like no caching and binary payloads.

AI-written summary · about

  1. 0:00Introduction to gRPC
  2. 1:37Monoliths vs Microservices
  3. 3:59Limitations of REST
  4. 5:55Understanding RPC Concepts
  5. 8:47gRPC Fundamentals
  6. 13:14gRPC Communication Modes
  7. 15:56Implementing a gRPC Service
  8. 19:38Service Logic and Context
  9. 22:11Building the gRPC Client
  10. 28:51Streaming Implementation
  11. 32:32Errors and Metadata
  12. 35:59Configuration and Security
  13. 39:27gRPC Transcoding
  14. 43:20Tooling and Discovery
  15. 46:18Fault Tolerance and Retries
  16. 52:15Load Balancing
  17. 56:06Summary and Conclusion
~/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.