NEW

New University Course: SurrealDB for AI Engineers

Start the course

1/3

LiveSponsors logo

Real-time loyalty, reinvented

From. A MySQL and MongoDB hybrid, with rigid schemas and core loyalty operations spiking to 20 seconds.
To. SurrealDB Cloud, with relational and document access unified on a single-node deployment.
Result. Core loyalty queries from 20 seconds to 7 milliseconds, for 25 operators on the platform.

20s → 7ms

Core loyalty query time

25

Operators on the platform

2 → 1

Databases behind the loyalty engine

1

Node in place of a replicated cluster

Ready to get started?

Contact sales

LiveSponsors rebuilt its loyalty engine on SurrealDB Cloud and took queries from 20 seconds to 7 milliseconds

LiveSponsors runs a loyalty and rewards platform for media and entertainment operators. Balances, partner feeds and recommendations for 25 operators now run on SurrealDB Cloud, where a MySQL and MongoDB stack ran before.

Challenge

LiveSponsors' loyalty engine keeps a running balance for every member across 25 operators, ingests partner feeds and reconciles them daily. It ran on a hybrid of MySQL for the relational data and MongoDB for the documents, and the hybrid struggled as the platform expanded.

Daily reconciliation leaned on complex transformation and aggregation logic that had become a bottleneck. Core loyalty operations spiked to 20 seconds, far too slow for the real-time feedback members expect when they earn or spend.

Two database technologies also meant two of everything to run, and the infrastructure burden and technical debt grew with each operator added.

Solution

LiveSponsors consolidated the loyalty engine into SurrealDB Cloud, the managed service, so the team runs the product rather than the database. Relational and document access are unified in one engine.

Schema-optional tables take partner feeds as they arrive and evolve without downtime. SurrealQL's blend of SQL-style joins and document deep fetching replaced the transformation logic that had slowed reconciliation.

The multi-node replicated stack became one streamlined high-memory deployment. SurrealDB Studio and the REST endpoints sped up schema changes and the APIs on top of them.

Results

From 20 seconds to 7 milliseconds

Real-time loyalty logic that spiked to 20 seconds now answers in 7 milliseconds.

Lower infrastructure overhead

Complex replicated nodes were replaced by a single-node setup on SurrealDB Cloud.

Faster iteration

Studio and REST endpoints made schema changes and new APIs quick to ship.

Real-time intelligence

Balances are calculated on the fly and partner recommendations are made as members act.

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