NEW

SurrealDB 4 is here, introducing SurrealDB Earth and SurrealDS!

Learn more

The AI-ready
database for gaming

Adaptive. Gameplay, maps, skins and items personalised in real time from each player's history.
Economies. Secure in-game economies, with graph queries that find coordinated rings and suspicious trades.
Predictive. Systems that learn from every session, measuring churn risk and content fatigue as they happen.

CAPABILITIES

Security, speed and AI-first design. Built for immersive, real-time gaming experiences.

Rust-based core

High concurrency and memory safety for large-scale online games.

Native AI

Generative NPC dialogue, dynamic quests and intelligent item systems.

Horizontally scalable

Millions of concurrent players, with sharding handled by the engine.

One database for every system

Profiles, game state, matchmaking, analytics and AI on one engine.

SEE IT IN ACTION

Detect cheating networks. Coordinated rings and suspicious trades, found with one graph query.

Players connected to a banned account through trades in the last seven days.

1-- Find players connected to a banned account
2-- through in-game trades within the last 7 days
3SELECT
4 <-(traded_with WHERE timestamp > time::now() - 7d)
5 <-player.* AS connected_players
6FROM ONLY player:banned_42;

USE CASES

Core use cases. How gaming studios apply SurrealDB.

Cheating and fraud networks

Graph analysis over PvP economies and marketplaces, in real time.

Content personalisation

Maps, skins, items and events recommended from player history.

Smart social layer

Friend and guild recommendations from the behavioural graph.

Gameplay telemetry

Moment-to-moment player decisions, tracked and analysed live.

Retention metrics

Churn risk, engagement drops and content fatigue, measured as they happen.

A/B testing

New mechanics and pricing evaluated live with instant feedback.

WHY SURREALDB

Why gaming companies choose SurrealDB. The advantages that matter in gaming.

Your questions,answered

Yes. Live queries push state changes to connected clients over WebSockets, and the low-latency Rust engine scales horizontally to thousands of concurrent players.

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. Player state, leaderboards and live events at global scale.

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