~/talk

Building Monorepo gRPC Services with Bazel

Talkat gRPConf 2024 · on Tuesday, 2024-08-27· at 16:20· Red Willow· [frontend-architecture]
slides:none on file

Bazel builds gRPC services across many languages in a single monorepo by treating protoc as a reproducible toolchain that downloads protoc releases instead of compiling protoc C from source, and by wiring generated artifacts into targets so changes to a .proto propagate immediately to all consumers. The workflow uses gazelle generates BUILD files to avoid manual editing, a write_source_files helper to sync generated code into source trees, and a logger example that proves language-crossing rebuilds work. Continuous delivery tooling and an aspect init repo scaffold are available.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Why Bazel for gRPC
  3. 3:52Manual code generation challenges
  4. 6:38Bazel for Protocol Buffers
  5. 8:21Trunk-based development
  6. 10:49Incremental builds
  7. 12:56Automating build files
  8. 14:19Generated code location
  9. 17:27Syncing generated code
  10. 18:50gRPC-Bazel-Protobuf issues
  11. 21:21Q&A
~/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.