AI & automation · 2024–2025

Scalable question engine for a multilingual trivia game

Spartans re-architected the question-delivery engine of a consumer trivia app so that each game session loads its full question set in one request instead of one request per question.

  • 100 → 1 server requests per game session
  • CDN-delivered question bank
  • Answers still validated server-side
Scalable question engine for a multilingual trivia gameAI & automation · 2024–2025

Images are illustrative.

The challenge

Every question in a game triggered its own server call. As the player base grew, load and infrastructure cost rose with every question answered, and latency between questions hurt the game's pace.

What we built

Spartans redesigned how questions reach the player:

  • The question bank is organized by language → difficulty → topic and pre-published to cloud storage behind a CDN.
  • Each game session receives its complete question set up front — a 100-question session is one request instead of 100.
  • Answers are still validated server-side, so moving content to the edge does not weaken game integrity.
  • Alongside the engine: migration planning to AWS containers (ECS), CDN setup and iOS QA.

What changed

Server traffic now scales with the number of games rather than the number of questions, and players move from question to question without waiting on the network.

Impact

A lighter, more predictable backend that is cheaper to run at scale and ready for the move to containers, with the game experience unchanged for players.

Inside the project

Question bank: language → difficulty → topic
Question bank: language → difficulty → topic
CDN delivery to players
CDN delivery to players

Technology

Backend

  • Server-side answer validation
  • Session-based question sets

Integrations & infra

  • AWS
  • Amazon ECS
  • Cloud storage
  • CDN

Mobile & web

  • iOS
  • QA automation

Have something similar in mind?

Tell us what you are trying to build. You will get a straight answer on feasibility, timeline and cost.

Book a call (opens in a new tab)WhatsApp (opens in a new tab)
WhatsApp (opens in a new tab)