~/talk

Building SpiceDB: A gRPC-First Database

Talkat gRPConf 2024 · on Tuesday, 2024-08-27· at 12:05· Western Sycamore· [databases, microservices]
slides:none on file

SpiceDB is a gRPC-first authorization database that exposes protobuf APIs, generates multi-language clients via protoc, and ships a REST gateway that converts JSON to gRPC. It shards queries across a cluster using a consistent-hash balancer and supports Cloud Spanner, CockroachDB and Postgres backends. Performance wins come from avoiding reflection with VT-protobuf, using an internal compress snappy codec for intra-cluster traffic, preferring unary RPCs for UX, and cutting allocations by adopting gRPC codec V2 and memory reuse.

AI-written summary · about

  1. 0:00SpiceDB and gRPC-first design
  2. 1:05Google Zanzibar and SpiceDB
  3. 3:55gRPC vs SQL for SpiceDB
  4. 8:50SpiceDB architecture with gRPC
  5. 10:55Hot path networking for auth
  6. 12:20Intra-cluster gRPC efficiency
  7. 14:09VT Protobuf in Go
  8. 15:52Go vs Rust for SpiceDB
  9. 16:12gRPC lessons learned
  10. 20:29Rebuilding SpiceDB with gRPC?
  11. 21:14SpiceDB client libraries future
  12. 22:15Exciting upcoming performance improvements
  13. 22:35Q&A: Data centers and RPC
~/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.