---
title: "Scalable question engine for a multilingual trivia game"
url: https://spartans.tech/work/trivia-question-engine/
lang: en
description: "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."
---

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

(Image: Scalable question engine for a multilingual trivia game) AI & 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.

## Client

A media and gaming company operating a consumer trivia app played in several languages.

## Engagement

TimelineArchitecture and delivery, 2024–2025

TeamBackend, cloud infrastructure and mobile QA

ModelEngineering partnership with the client's team

## Why Spartans

- We fixed the architecture, not just the servers — cost now follows games, not questions.
- Performance gains without trading away game integrity.

## Inside the project

(Image: Question bank: language → difficulty → topic) Question bank: language → difficulty → topic (Image: 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

## Related work

[

(Image: Sports fan-engagement chatbot) AI & automation · 2017–2018

### Sports fan-engagement chatbot

Sports-tech startup · IsraelTrivia, predictions & watch groups ](https://spartans.tech/work/sports-fan-engagement-bot/) · [

(Image: Conversational AI candidate-screening product) AI & automation · 2018–2019

### Conversational AI candidate-screening product

Spartans SaaS product · recruiters & HR teamsConversation replaces CV filtering ](https://spartans.tech/work/ai-candidate-screening/) · [

(Image: AR character assistant with natural-language interaction) Augmented reality · AI & automation · 2018–2020

### AR character assistant with natural-language interaction

In-house research · conversational XRNatural-language understanding ](https://spartans.tech/work/ar-digital-human-assistant/)

## Have something similar in mind?

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