India’s Leading Domain & Web Hosting Provider
Stock broker builds dual-location Direct Connect for trading apps with sub-second failover
Retail and HNI broker, about 1,500 employees, 18 lakh active clients · Mumbai with branches across India · 14 weeks
As-is situation
The broker's order management and risk systems sat in a data centre in Navi Mumbai with links to exchange colocation, while its mobile and web trading front ends, market-data fan-out and client back office had moved to AWS Mumbai. The data centre reached AWS through two internet VPN tunnels on one ISP. During a volatile session after a policy announcement, packet loss on the ISP raised order acknowledgement times on the mobile app from about 180 ms to over 2 seconds for 25 minutes, generating client complaints and an inquiry from the compliance team.
- Order path from AWS front ends to on-premises OMS running over internet VPN with variable latency
- Single ISP and single router at the data centre for AWS connectivity
- Market-data fan-out of about 400 Mbps at open, peaking close to the VPN tunnel limits
- SEBI's cybersecurity and cyber resilience framework requiring documented, tested resilience for critical systems
Selected AWS services and architecture
NTSPL designed connectivity to AWS's maximum resiliency recommendation: two dedicated 10 Gbps Direct Connect connections at each of two Direct Connect locations in Mumbai, from two routers on diverse fibre paths, using private virtual interfaces to a Direct Connect gateway attached to a virtual private gateway on the trading VPC. BFD with 300 ms intervals and BGP local preference keep traffic on one location and fail over in under a second. Site-to-Site VPN remains a tertiary path. Order gateways in AWS run in a cluster placement group within one Availability Zone for low latency, with a warm standby group in a second zone. Route 53 health checks switch the client API between zones.
Implementation approach
Measured results
Operational improvements
- Connectivity failures during market hours are handled by BFD and BGP without a manual change
- Network latency is tracked per hop on a CloudWatch dashboard reviewed at every market open
- Resilience drills run quarterly on weekends with results filed for SEBI audits
Cost considerations
Four dedicated 10 Gbps ports with cross-connects at two locations cost far more than VPN, a premium accepted for the order path. Port-hour charges dominate because data transfer out to the broker's network is billed at Direct Connect rates. The broker chose dedicated over hosted connections to qualify for the maximum-resiliency topology and future MACsec support.
Return on investment
Indicatively, the broker spends INR 70-90 lakh a year more on connectivity, against brokerage revenue at risk of several crore during a single degraded volatile session and the regulatory cost of repeat incidents. Compliance now holds tested evidence of resilient connectivity for its annual cyber audit.