Home / Companies / Cockroach Labs / Blog / Post Details
Content Deep Dive

Global Authorization Consistency with AuthZed and CockroachDB

Blog post from Cockroach Labs

Post Details
Company
Date Published
Author
Amine El Kouhen, Ph.D.
Word Count
2,857
Language
English
Hacker News Points
-
Summary

In the evolving landscape of distributed systems, ensuring both data and permissions consistency has become crucial, as described through the collaboration between CockroachDB and AuthZed. Traditional databases focused on atomic transactions and balanced indexes for consistency, but modern systems require coordination across multiple services and regions, handling both data correctness and permission correctness. AuthZed’s SpiceDB, inspired by Google’s Zanzibar, utilizes CockroachDB to provide a globally distributed, strongly consistent foundation for authorization, enabling scalable and secure access control in cloud applications. This partnership allows for fine-grained, reliable permissions management by synchronizing data and permissions globally, thus addressing the challenges of distributed systems, such as replication lag and concurrent updates. CockroachDB’s serializable isolation model supports strong transactional guarantees, while AuthZed focuses on providing a flexible, API-first authorization model. Together, they offer a robust solution for enterprises seeking to maintain policy correctness alongside data integrity, reducing security risks and improving compliance in a distributed, interconnected world.