India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudEd-tech test preparationOther Industries

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

Amazon Web Services
01

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
02

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.

Staggered OTP login → GKE test engine pre-scaled → Pub/Sub answer queue → batched writes via PgBouncer → Cloud SQL → scoring
GKECloud SQL for PostgreSQLPub/SubCloud QuotasCloud Profiler
03

Implementation approach

Weeks 1-2 · Limit inventoryTraced the test journey and recorded nine ceilings with current usage.
Weeks 3-4 · FixesQuota increase, connection pooling, queued answer saves and staggered login.
Week 5 · Load testRan 4 lakh synthetic candidates and fixed the slow scoring query.
Week 6 · Live testWar room for the Sunday test with pre-scaling at 9:15 a.m.
04

Measured results

Concurrent candidates served
Failure at about 2.6 lakh→3.4 lakh with 35% tested headroom
Answer-save p95 latency at peak
4.8 s→320 ms
Mock tests rescheduled (next six tests)
2 of previous 3→0 of 6

Operational improvements

  • Academic calendar of test dates now feeds the monthly capacity review
  • Quota utilisation alarms fire at 70% for CPU and connections
05

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.

06

Return on investment

ROI indicator

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.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.