India’s Leading Domain & Web Hosting Provider
Scholarship portal verifies 11 lakh applications on time against rate-limited APIs
State IT agency running a post-matric scholarship portal with a 45-day application window · Google Cloud Mumbai · 9 weeks
As-is situation
The portal received about 11 lakh applications in each 45-day window. Every application needed checks against four external services, covering income certificates, domicile records, university enrolment and bank account validation, each with strict rate limits. A Java batch job on two VMs ran the checks overnight, retried nothing and crashed whenever one API slowed down. In the last cycle 1.3 lakh applications were still marked verification pending at the deadline, forcing a three-week extension and verification camps in district offices.
- 1.3 lakh applications stuck in verification at the last deadline
- Four external APIs with limits from 20 to 100 calls per second and frequent timeouts
- An overnight batch with no retries, where one API outage voided a whole night's run
Approach, tools and architecture
NTSPL rebuilt verification as event-driven steps. Each submitted application publishes to Pub/Sub, and one Workflows execution per application calls the four checks through separate Cloud Tasks queues, one per external API, with dispatch rates set just under each provider's limit and retries for up to 72 hours. Handlers run on Cloud Run functions and write results to Cloud SQL for PostgreSQL behind connection pooling. Applicants see per-check status through SMS and the portal. The verification layer stores only masked references and consent IDs, never Aadhaar numbers.
Implementation approach
Measured results
Operational improvements
- Per-department dashboards show each external API's error rate, so the agency escalates to the right owner on day one
- A provider outage now delays checks rather than voiding them; queued tasks resume on their own
Cost considerations
The build cost INR 41 lakh. Run cost over the 45-day window was about INR 2.2 lakh, and under INR 15,000 a month outside it, replacing two VMs that had cost INR 1.4 lakh a month all year.
Return on investment
Avoiding the three-week extension saved an estimated INR 60 lakh in helpdesk effort, district-office overtime and verification camps. Scholarship disbursal also reached students about a month earlier than in the previous cycle, the outcome the department had been asked to fix.