How Aspire Comps replaced 5 backend tools with SurrealDB and scaled to 700,000 users
Mark Gyles

Mark Gyles @mgyles

Joined:
Jun 10, 2024

How Aspire Comps replaced 5 backend tools with SurrealDB and scaled to 700,000 users

Publish Date: Jun 12
10 1

Aspire Comps, a UK‑based retail prize competition company, migrated from Firebase to SurrealDB to streamline operations and resolve performance bottlenecks. By unifying application logic and data within SurrealDB, the team removed multiple supporting services and gained precise access‑control capabilities, creating a foundation for future scalability and machine‑learning‑driven personalisation.

Background

Firebase’s real‑time features were a natural starting point for Aspire Comps. As the user base expanded beyond 700,000 accounts, however, the architecture became increasingly complex. Five separate services were required to meet core business needs:

  • Firestore for documents
  • Realtime Database for chat and live draws
  • Firebase Auth for user management
  • Cloud Functions for scheduled and event‑driven tasks
  • Elasticsearch for search

With growth came higher latency during cold starts, fragmented access‑control policies, and an intricate dependency chain.

The 48‑hour migration

To simplify the stack, Aspire Comps adopted SurrealDB. During migration, the team inserted approximately 10,000 records per second into the new database, consolidating all backend functionality into a single ACID‑compliant, multi‑model engine that supports serverless functions.

SurrealDB now underpins the company’s primary e‑commerce site as well as supporting services such as notifications (email, push, SMS), campaigns, prize‑claim management, chat, recommendations, winner management, and charitable initiatives.

Results

  • Instrumented simplicity - the backend toolchain was reduced from five systems to one.
  • Performance at scale - SurrealDB handles high concurrency without additional optimisation layers.
  • Flexible modelling - schemaless documents and live queries support rapid iteration on new competition formats and customer flows.
  • Operational efficiency - search, access control, and event handling are delivered natively, eliminating external infrastructure.
  • Future‑ready architecture - the platform is prepared for real‑time machine‑learning workloads, advanced search, and Generative AI integration.

Modernise your stack

  1. Get started for free today – app.surrealdb.com.
  2. Join the SurrealDB Discord – engage with the community and receive support.

If Aspire Comps moved 700,000 users in a single weekend, your next project, whether a side initiative or an enterprise deployment, can achieve similar results.

Comments 1 total

Add comment