India’s Leading Domain & Web Hosting Provider
Online travel agency traces booking-path latency to two hidden dependencies
Online travel agency, flights and hotels, about 45,000 bookings a day · India, with GCC traffic · 8 weeks
As-is situation
Search, fare-quote, seat selection and payment ran as 32 microservices on EKS in Mumbai, calling GDS systems, airline NDC APIs and three payment gateways. Every few days the fare-quote to payment step slowed from about 1.5 seconds to 9 seconds for 20 to 40 minutes, and booking conversion dropped by up to 30 percent during those windows. Dashboards showed healthy CPU and memory everywhere. Logs existed in CloudWatch but carried no correlation ID across services, and engineers spent hours grepping log groups after each incident without finding a root cause.
- Latency incidents roughly twice a week, each lasting 20 to 40 minutes
- No distributed tracing across 32 services and 9 external APIs
- Booking conversion falling from about 4.1 percent to under 3 percent during incidents
- Mean time to root cause above 3 days, often never established
Selected AWS services and architecture
NTSPL instrumented all services with the AWS Distro for OpenTelemetry, sending traces to X-Ray and enabling Application Signals with SLOs on search, fare-quote and payment initiation. Tail sampling kept every trace over 2 seconds or with errors. CloudWatch Synthetics canaries replayed a full search-to-payment journey every five minutes from Mumbai. Within a week, traces showed two causes: fare-quote missed its ElastiCache cache whenever a key-eviction storm followed a fare refresh, and one payment gateway's tokenization call was retried synchronously three times with 2-second timeouts. Fixes were a staggered cache refresh and an asynchronous retry with a circuit breaker.
Implementation approach
Measured results
Operational improvements
- Every incident ticket now links a sample trace, so engineers start from the slow hop rather than from logs
- Synthetic canaries catch payment gateway degradation before customers do, typically 10 to 15 minutes earlier
- Release reviews include SLO burn for the previous release, gating risky deployments
Cost considerations
Trace volume was the main new cost driver; tail sampling kept roughly 6 percent of traces while retaining every slow or failed one. Canaries were limited to two journeys at five-minute intervals. The team chose CloudWatch over a third-party APM to avoid per-host licensing across 140 EKS nodes.
Return on investment
At about 45,000 bookings a day, recovering conversion lost during incidents is worth an indicative INR 1.5 to 2.5 crore a year in gross booking margin. Tracing and Application Signals added roughly INR 60,000 to 90,000 a month. The agency treated payback as under two months.