India’s Leading Domain & Web Hosting Provider
Test-prep platform runs its 3.4 lakh-student Sunday mock test after two failed attempts
Engineering and medical entrance coaching platform with about 9 lakh paid learners · Google Cloud Mumbai (asia-south1) · 6 weeks
As-is situation
The platform ran an all-India mock test every second Sunday at 10 a.m., with candidates starting within a five-minute window. The test engine ran on GKE, answers were saved to Cloud SQL for PostgreSQL, and OTP login went through an SMS gateway. Two of the previous three tests had to be rescheduled: once when node pools could not grow because the regional CPU quota was exhausted, and once when Cloud SQL ran out of connections at 2.6 lakh candidates. Each failure generated thousands of refund requests and public complaints.
- Two of three recent mock tests rescheduled because of capacity ceilings
- Regional CPU quota and Cloud SQL max connections not tracked anywhere
- OTP gateway limit of 1,500 messages per second unknown to the engineering team
Approach, tools and architecture
NTSPL mapped the login-to-submit path and listed nine limits, including CPU quota, Cloud SQL connections, the SMS gateway rate and an internal answer-save queue. We raised the CPU quota with five weeks' notice, added PgBouncer connection pooling, moved answer saves to Pub/Sub with batched writes, and introduced staggered OTP login windows starting 30 minutes before the test. Node pools were pre-scaled at 9:15 a.m. A load test at 4 lakh simulated candidates with masked data ran two weeks before the next test, and Cloud Profiler identified one slow scoring query fixed by the developers.
Implementation approach
Measured results
Operational improvements
- Academic calendar of test dates now feeds the monthly capacity review
- Quota utilisation alarms fire at 70% for CPU and connections
Cost considerations
Pre-scaling node pools for two hours every second Sunday adds a modest GKE node cost. Moving answer saves to batched writes let the team avoid upsizing the Cloud SQL instance, which had been the default proposal from the engineering team.
Return on investment
Each rescheduled test had triggered refunds and goodwill extensions worth about ₹22 lakh, plus visible public damage during an admissions season. Six clean tests in a row protected renewals in the platform's most price-sensitive learner segment.