Skip to content

Real-time, event-driven applications

Live queries. Changes pushed to clients over WebSocket subscriptions.
Events. Triggers and reactions inside the database itself.
One source. The database is your event bus and your source of truth at once.

01 |LIVE QUERIES

Subscribe to changes. The database is the event system.

TABLE

Subscribe to a table

Every change to the matching records streams to the client as it commits.

How LIVE SELECT works
-- Subscribe to all changes on messages in a chat room
LIVE SELECT * FROM message WHERE room = room:general;
RECORD

Subscribe to a record

One record's changes, pushed as they happen, with no polling in between.

-- Subscribe to changes on a specific record
LIVE SELECT * FROM user:jaime;

02 |EVENTS AND TRIGGERS

Reactive workflows inside the database. Events fire on change, in the engine.

03 |REAL-TIME AGENTS

Coordination for multi-agent systems. One commit, pushed to every agent.

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

Build real-time applications. Live queries, events and WebSocket subscriptions, built into the database.