Desafío PEI — AIEP

Live quiz game, Kahoot-style, that AIEP used to assess its new Institutional Educational Plan at an event with 26 campuses connected.

Client
AIEP
Industry
Technical and professional higher education, with 26 campuses in Chile and about 6,000 employees
Build
About 2 months between the start and the event (October to December 2025)
Held in
December 2025
Illustrative reconstruction: the real screens are confidential.
600-700
live participantsConnected at once in each session, from 26 campuses
0
incidents during the eventBoth sessions on 17 December 2025 ran without outages
1,000
virtual users in the load testWith 95% of responses under 500 ms, before the event
2
sessions with different questionsMorning and afternoon, on the same system

The problem

What the client had.

AIEP was launching its Institutional Educational Plan 2025-2029 and needed its employees, spread over 26 campuses across Chile, to know it and understand it. An email with an attachment was not enough: it needed something that would hold attention and make it possible to measure how much had been understood.

The activity was planned as a single live event, broadcast to every campus in two sessions, morning and afternoon. Between 600 and 700 people were expected to be connected at once, and there was no room to fix a failure during the event.

Live quiz products such as Kahoot or Mentimeter solved the format, but not the control AIEP needed: review breaks, a ranking by campus, different questions per session, a prize draw with its own criteria and export of results for Human Resources. There were about 2 months to build it.

The solution

What we built.

We built a platform with two roles: participant and administrator. The administrator runs the event from a panel: activates each question, sees how the answers are distributed in real time, shows the ranking by campus during the breaks and starts the final prize draw among those who scored 10 out of 10.

The most important technical decision was not to use WebSockets. Each participant checks the state of the game every 2 to 4 seconds, a delay that goes unnoticed with 60-second questions and avoids additional infrastructure and points of failure. Before the event we validated it with a load test of 1,000 virtual users.

The game does not say whether an answer was right until the end, allows people to join late and answer the earlier questions, and offers an extra question to those who do not reach 10 out of 10. On 17 December 2025 both sessions took place, with 600 to 700 people connected in each and no technical incidents.

  • Administrator panel

    One person runs the event: activates each question, sees the answers in real time, controls the review breaks and starts the prize draw.

  • Synchronisation without WebSockets

    The state of the game is checked every 2 to 4 seconds, with no additional infrastructure or external services, and was validated with a load test of 1,000 virtual users.

  • Late entry

    Anyone who connects after the start can answer from the first question up to the active one and ends up in sync.

  • Results only at the end

    Participants do not know whether they were right until the game ends, so that those who miss early questions do not disconnect.

  • Ranking by campus

    After questions 4 and 8, the event pauses to show the ranking of the 26 campuses by percentage of correct answers.

  • Final prize draw and extra question

    Those who score 10 out of 10 enter the draw for the main prize; everyone else gets an extra question.

The screens of this system are confidential. These are reconstructions with the same structure and invented data.

Technology

What we built it with, and why.

  • Next.js 15

    The actions of the administrator and the participants run on the server inside the same application, without a separate API for a one-off event.

  • Prisma 7 + PostgreSQL

    The database prevents a person from answering the same question twice, so the statistics come out clean during the event.

  • Better Auth

    It validates the institutional @aiep.cl emails and handles roles without sending user data to an external provider.

  • k6

    The load test of 1,000 virtual users over 10 minutes confirmed, before the event, that the system responded without overloading the database.

  • TanStack Form + Zod 4

    The same schema validates the participant's registration in the form and on the server.

  • Recharts

    Bar charts with the answers per option and the campus ranking, which the administrator sees during the breaks.

Timeline

How the project moved.

  1. October 2025

    Start

    Definition of the scope and the architecture, and the decision to check the state every few seconds instead of using WebSockets.

  2. November 2025

    Preliminary trial

    A trial version with 3 questions and retries, to validate the experience, the texts and the behaviour with real users connected at once.

  3. December 2025

    Final stage and load test

    Administrator panel, ranking by campus, prize draw and two sets of questions, plus the load test of 1,000 virtual users.

  4. 17 December 2025

    Official event

    Sessions at 11:00 and 16:00, with 600 to 700 employees connected from 26 campuses and no outages.

Other case studies.

See all case studies

Next step

Tell us what you need to build.

The assessment is free: we review your process and tell you what we would build, how long it takes and what it costs.

We reply within 24 business hours