India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudGovernment scheme portal (state scholarships)Public Sector & Non-profit

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

Amazon Web Services
01

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
02

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.

Portal submission → Pub/Sub → Workflows per application → Cloud Tasks queue per external API (rate-capped) → Cloud Run functions → Cloud SQL results → SMS and portal status
Pub/SubWorkflowsCloud TasksCloud Run functionsCloud SQL for PostgreSQLCloud Monitoring
03

Implementation approach

Weeks 1-2 · API profilingMeasured limits and failure behaviour of each department's API.
Weeks 3-6 · Workflow and handlersBuilt per-API queues, handlers and the status feed.
Weeks 7-8 · Replay testReplayed 2 lakh last-cycle applications against API simulators.
Week 9 · Go-liveLaunched before the application window opened.
04

Measured results

Applications pending verification at deadline
1.3 lakh→2,100, each with a documented external failure
Median verification time per application
Next morning→7 minutes
Submissions handled per hour in load test
Portal slowed above 8,000→2.4 lakh
Deadline extension required
3 weeks→None

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
05

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.

06

Return on investment

ROI indicator

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.

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.