~/talk

How Google built a Consistent, Global Authorization System with Zanzibar

Talkat Confitura 2025 · 2025-09-19..09-20· [security, distributed-systems]
slides:none on file

Google claims Zanzibar handles 10 million client queries per second by modeling permissions as Relationship-Based Access Control: a schema of users and objects, relation tuples that record who is owner/member/editor, and APIs to write relationships, check permissions and lookup subjects or resources. Correctness uses zookie timestamps to avoid the “new enemy” stale-cache problem; scale relies on distributed caching, consistent hashing, lock tables and full-read caching for viral hotspots. An open-source reimplementation (SpiceDB) demos this, but adoption requires dual-write integration and schema design.

AI-written summary · about

  1. 0:00Google’s authorization system intro
  2. 2:58Authentication vs authorization
  3. 5:26Role-based access limits
  4. 6:30Relationship-based access control
  5. 9:01Zanzibar authorization graphs
  6. 11:09Zanzibar open-source alternatives
  7. 12:13SpiceDB mirrors Zanzibar
  8. 13:14SpiceDB schemas and relationships
  9. 14:40SpiceDB relationship tuples
  10. 15:44SpiceDB permission checks
  11. 17:10SpiceDB subject/resource lookup
  12. 19:00Zanzibar scale and caching
  13. 21:09New enemy problem solved
  14. 22:56Low-latency authorization optimizations
  15. 27:17When to use Zanzibar-like systems
  16. 29:26OWASP access control risks
  17. 30:33Next steps and resources
  18. 31:15Q&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.