grpc-slides/docs/practical_grpc.md
2025-10-27 18:04:43 +01:00

959 B

A practical guide on gRPC

Victor Martinez


Contents

  • Ingredients to build a gRPC API
  • Defining our API with Protocol Buffers
    • Defining a request
    • Defining a response
    • About backwards compatibility
    • Defining a service
  • Generate a Rust library
    • Manual project setup
    • Build script
    • Exposing a library
    • Supporting multiple tonic versions
  • CI/CD
    • The Buf tool
    • Checking for breaking changes
    • How to release
  • Implementing a gRPC service
    • Implementing the service trait
    • Parsing requests
    • Error handling
  • Building a gRPC server
    • Authentication
    • Tracing
    • Running our server
  • How to deploy
  • How to call our server
    • Creating a gRPC client
    • Authentication
    • Response handling
  • How is it going so far
    • Users
    • Metrics