SpiceDB: Authorization with Google Zanzibar cover

Technology · Ebook

SpiceDB: Authorization with Google Zanzibar

by Shriira Press

4.8(289)188 pagesPublished 2026

A practical, in-depth guide to SpiceDB, the open-source, Google Zanzibar-inspired database for application permissions. Learn how SpiceDB makes authorization dedicated infrastructure: the authorization problem and the Zanzibar insight, the service and datastore architecture, the schema language (definitions, relations, permissions), relationships and usersets, permission checks and computation (set operations and arrows), consistency and ZedTokens (the new enemy problem), caveats and advanced features, and operating SpiceDB as critical authorization infrastructure at scale.

Contents

  1. 1Preface
  2. 2Chapter 1 — What SpiceDB Is
  3. 3Chapter 2 — The Authorization Problem
  4. 4Chapter 3 — Architecture
  5. 5Chapter 4 — The Schema Language
  6. 6Chapter 5 — Relationships
  7. 7Chapter 6 — Permission Checks and Computation
  8. 8Chapter 7 — Consistency and ZedTokens
  9. 9Chapter 8 — Caveats and Advanced Features
  10. 10Chapter 9 — Operations and Observability
  11. 11Chapter 10 — SpiceDB in Practice