India’s Leading Domain & Web Hosting Provider
Regional telecom billing platform keeps bill runs on schedule with a Delhi standby
Fixed broadband and enterprise leased-line provider, 9 lakh subscribers, billing and rating on Google Cloud · Google Cloud Mumbai, standby in Delhi · 7 weeks
As-is situation
The provider's convergent billing stack rated usage records, applied plan rules and generated invoices in three monthly bill cycles. It ran on GKE with a PostgreSQL database on Cloud SQL, and a rating engine that loaded 40 GB of tariff and subscriber reference data into memory at start-up, taking 28 minutes. DR was Cloud SQL backups and a Terraform rebuild in Delhi, estimated at six hours. Bill cycle dates were tied to collection targets and to bill-date commitments made to customers, and a missed cycle had delayed collections of about INR 14 crore by four days the previous year.
- 28-minute in-memory reference data load made any cold recovery slow
- Six-hour estimated rebuild could push a bill cycle past its cut-off
- Customer self-care portal and payment gateway callbacks were hard-wired to Mumbai endpoints
Approach, tools and architecture
NTSPL moved the database to Cloud SQL Enterprise Plus with a cross-region replica in Delhi and deployed a second GKE cluster in Delhi running the rating engine, invoice service and self-care portal at about 20% scale. The rating engine kept its reference data loaded continuously from the Delhi replica, eliminating cold load. One Cloud Deploy pipeline released to both clusters. A global external Application Load Balancer fronted the self-care portal with Mumbai preferred, and payment gateway callbacks were re-registered against a global hostname. A runbook promoted the replica, scaled the Delhi cluster with node pool autoscaling and resumed the interrupted bill cycle from its last committed checkpoint.
Implementation approach
Measured results
Operational improvements
- Releases fail if the Delhi cluster deployment fails, so the standby never trails production
- Bill-run checkpointing also shortened normal reruns after data corrections
Cost considerations
The Delhi standby cluster and Cloud SQL replica cost about INR 4.2 lakh a month, roughly 32% of production. Enterprise Plus edition added cost on the primary but also reduced planned maintenance downtime, which the operations team valued separately.
Return on investment
At about INR 50 lakh a year, the standby is priced as insurance against a repeat of last year's missed cycle, which besides delaying INR 14 crore of collections triggered SLA credits to enterprise customers and roughly 9,000 billing complaints. Checkpointed reruns also save operations time every month.