Skip to content
NEW BENCHMARKS

SurrealDB 3.x by the numbers

View

1/3

Real-time, event-driven applications

Live queries, events, WebSocket subscriptions, and collaborative patterns - built into the database. No message broker, no polling, no glue code.

LIVE QUERIES

Subscribe to changes, not to polling intervals

Live queries push changes to connected clients the moment data is modified. No polling, no message broker, no change data capture pipeline. The database is the event system.

1-- Subscribe to all changes on messages in a chat room
2LIVE SELECT * FROM message WHERE room = room:general;
3
4-- Subscribe to changes on a specific record
5LIVE SELECT * FROM user:jaime;

EVENTS & TRIGGERS

Reactive workflows inside the database

TABLE and FIELD events fire on data changes. Build reactive workflows - notifications, audit logs, computed fields, cascading updates - without external event systems.

Table events

Fire SurrealQL on CREATE, UPDATE, or DELETE for any table. Build audit trails, notifications, and cascading logic.

Field-level triggers

React to changes on specific fields. Compute derived values, enforce business rules, and trigger side effects.

WebSocket streaming

Connect clients over WebSocket for real-time data streaming. No separate message broker required.

Collaborative patterns

Build collaborative applications - shared editors, multiplayer games, real-time dashboards - with built-in conflict resolution.

REAL-TIME AGENTS

Real-time coordination for multi-agent systems

Live queries are the transport layer for multi-agent coordination. When one agent commits a finding, live queries push the update to every other agent in real time. Agent handoffs, context updates, and event-driven workflows all happen through shared context with ACID guarantees - no polling, no message broker, no stale context.

FREQUENTLY ASKED QUESTIONS

Real-time

GET STARTED

Build real-time applications

Live queries, events, and WebSocket subscriptions - built into the database.

SamsungNVIDIAAppleVerizonTencent

SOC 2 Type 2

GDPR

Cyber Essentials Plus

ISO 27001

SurrealDB

The context layer for AI agents.

Documents, graphs, vectors, time-series, and memory - in one transaction, one query, one deployment.

Explore with AI

Independently verified

SOC 2 Type 2

GDPR

Cyber Essentials Plus

ISO 27001

Trust Centre

Copyright © 2026 SurrealDB Ltd. Registered in England and Wales. Company no. 13615201

Registered address: 3rd Floor 1 Ashley Road, Altrincham, Cheshire, WA14 2DT, United Kingdom

Trading address: Huckletree Oxford Circus, 213 Oxford Street, London, W1D 2LG, United Kingdom