The Challenge
The customer has an online educational platform where students enrol and learn subjects at their own pace. The customer wanted an app to organize and conduct online Quiz. Multiple students can participate (usually in hundreds) and the winner is awarded prizes or platform credits.
The Challenge
As the quiz starts at a predefined time, all the participants login almost at the same time. The load on the system has to be taken into consideration due to this behaviour. Answers by all participants have to be posted to the server, validated and the result has to be published within a few seconds. Live video of the Quiz conductor will have to be streamed before every question.
The Solution
The Spagylo Team proposed Apache MQ and MQTT protocol that will enable all the participants to submit their answers to the Apache MQ server. The result and the statistics for every question will also be published on the MQ server. Every subscribed app user will receive the result statistics at the end of each question. Live streaming feature was implemented on the server, so that subscribing apps receive the live stream of the Quiz conductor before every question is released.
Technology Stack
React Native
Apache MQ
MQTT Protocol
MySQL
The Results
The solution resulted in an increase in average student engagement from 45 mins a day to 53 minutes a day. The quiz app also served as a way of gamification of the learning platform.