Jun 9, 2025
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.
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:
With growth came higher latency during cold starts, fragmented access‑control policies, and an intricate dependency chain.
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.
If Aspire Comps moved 700,000 users in a night, your next project, whether a side initiative or an enterprise deployment, can achieve similar results.
tutorials
Jun 3, 2025
featured
Jun 11, 2025