GEN 3 ARCHITECTURE
Storage redesigned from first principles
Most distributed databases were designed around provisioned disks attached to compute nodes. SurrealDB's next-generation storage architecture is different: transactional data is placed directly in commodity cloud object storage, while the database runs as stateless, elastic compute on top.
This separates compute from storage without depending on a proprietary cloud database storage tier. Data can live in S3-compatible object storage, whether that is provided by a major cloud, a private cloud, or another compatible environment.
QUORUM CONSENSUS
No single leader. No split brain.
The storage engine uses quorum-based consensus. Each availability zone has its own write node, writes scale horizontally, and transactions commit once a quorum acknowledges. Lower latency than leader-based replication.
Every transaction is encapsulated within a quorum consensus decision. Transaction consensus is performed at the writing node, allowing writes to horizontally scale across all write nodes in a cluster.
WRITE PATH
How a write transaction flows
From client request through the compute layer, into quorum consensus, and down to durable object storage.
RESILIENCE
Node failure and recovery
When a node fails, a replacement restores from object storage and replays the transaction log. Recovery time is independent of dataset size.
Persistence succeeds, quorum fulfilled.
Persistence fails, but quorum fulfilled.
Behaviour:
Outcome:
IN PRACTICE
What Gen 3 storage delivers
Storage costs drop
Object storage costs a fraction of provisioned disk. The total dataset can far exceed the local storage of any running instance.
Cross-region replication
Data flows through object storage, not between nodes. The most expensive line item in traditional distributed databases is structurally reduced.
Scale to zero
Compute is stateless. Scale down to zero when idle - data persists in object storage. When demand returns, nodes restore from the durable store in seconds.
Instant recovery
A crashed node restores from object storage and replays the transaction log. Recovery time is independent of dataset size.
Instant branching
Clone a petabyte-scale database in seconds for development, testing, or experimentation. Git-like workflows for production data.
Built-in disaster recovery
Object storage is the durable tier (99.999999999% durability). No separate backup infrastructure. No snapshot schedules.
THE FULL STACK
From object storage to agent memory
No specialist agent database owns its storage layer. No memory middleware controls how data is persisted. The storage engine is the reason the context layer can scale down to zero, branch instantly, and recover from failures by design. No other product on the market owns this vertical.
FREQUENTLY ASKED QUESTIONS
Distributed storage FAQ
GET STARTED
Build on SurrealDS
From object storage to agent memory. Scale down to zero, branch instantly, recover by design. The storage engine the context layer is built on.
SOC 2 Type 2
GDPR
Cyber Essentials Plus
ISO 27001

