NEW

SurrealDB 4 is here, introducing SurrealDB Earth and SurrealDS!

Learn more
Permit.io logo

Graph-powered permissions for the AI era

From. A custom in-memory graph engine that hit a ceiling past tens of millions of relationships.
To. SurrealDB embedded in Rust, with recursive graph queries across cloud, on-premises and hybrid.
Result. The fastest Zanzibar-influenced ReBAC in the market, for customers past 100 million identities.

100M+

Identities in one permission graph, across thousands of tenants

3

Deployment models: cloud, on-premises, hybrid

Ready to get started?

Contact sales

Permit.io scaled relationship-based access control past 100 million identities on SurrealDB

Permit.io provides permissions for the AI era through full-stack authorisation as a service, so developers can build and enforce fine-grained permissions in any application. Its relationship-based access control now runs on SurrealDB embedded in Rust.

Challenge

Graph queries are central to how Permit.io enforces policy: a check walks from a user through organisations, projects and environments to a resource. The company had built its own in-memory graph engine for Open Policy Agent to run those walks.

In memory, the engine hit a ceiling past tens of millions of relationships. Enterprise customers pushing 10 million to 100 million identities were running into hard technical limits, and memory constraints and complexity were the cause.

Permit.io also serves three kinds of environment: multi-tenant cloud, on-premises in regulated industries, and hybrid. Whatever replaced the in-memory engine had to run in all three without a different architecture for each.

Solution

Permit.io replaced the in-memory engine with SurrealDB's graph-native query engine. Recursive SurrealQL queries traverse users, organisations, projects, environments and resources in milliseconds, at a scale the in-memory approach could not reach.

SurrealDB embeds directly into Permit.io's Rust services, so lightweight policy decision points run at the edge with centralised policy storage behind them. The same engine serves cloud, on-premises and hybrid deployments.

Namespaces and databases isolate thousands of customers' identity graphs from one another while keeping performance and security, on one platform.

Results

The fastest ReBAC solution

Permit.io delivers the fastest and most comprehensive Google Zanzibar-influenced relationship-based access control in the market.

Identities at enterprise scale

Permissions across tens of thousands of folders and millions of files resolve in one query, for customers past 100 million identities.

Three deployment environments

Cloud, on-premises and hybrid run on the same engine with minimal re-architecture.

One centralised policy service

A unified policy enforcement service spans hybrid cloud and the edge.

CUSTOMER STORIES

Proven in production

THE PLATFORM

Everything an application and its agents know. Five surfaces, one engine.

IN PRODUCTION

Trusted at scale. Samsung, Nvidia, Verizon, Tencent, and Walmart run on SurrealDB.

14,000+

Developers building on SurrealDB Cloud

4M+

Developers building on SurrealDB worldwide

FROM THE TEAMS

SurrealDB gives us a foundation where we can unify semantic search, knowledge graphs, and AI-driven decision making without stitching together multiple systems. Collapsing responsibility into SurrealDB has become our default engineering posture.
Justin Foley

VP of Engineering, Later

GET STARTED

Start building with SurrealDB. One engine for documents, graphs and vectors, from prototype to production.

ISO 27001
AICPA SOC 2 Type 2
Cyber Essentials
GDPR
Cyber Essentials Plus