AuthZed Materialize
Materialize maintains continuously updated materialized views of your SpiceDB permissions. Expensive permission computations happen ahead of time, so queries read precomputed results instead of traversing the graph.
Accelerated Queries
When LookupResources hits its performance ceiling at scale, Accelerated Queries is the escalation path.
SpiceDB can dispatch sub-queries to Materialize, which can significantly speed up permission checks.
Speed up CheckPermission and CheckBulkPermissions with precomputed permission sets.
Speed up LookupResources and LookupSubjects, especially when there is a large number of resources.
Event Streams · Early access
Stream precomputed permissions into your own application database, colocated with the data they protect.
Sort, filter, and paginate over many thousands of authorized objects natively in your own database.
Apply ACL filtering in secondary indexes like Elasticsearch.
ACL-aware filtering becomes a simple JOIN against permissions stored alongside your data.
How it works
Materialize continuously precomputes authorization data so it is ready when your application asks.
Choose the permissions to precompute. Materialize keeps them updated as your relationships and schema change — like a materialized view in a traditional database.
Precomputed authorization data is organized into permission sets, the unit Materialize computes and keeps current.
Every event is anchored to a ZedToken revision, so consumers can resume where they left off with no skipped events.