EXECUTION·Razorpay·advanced·40 min

Razorpay checkout latency spiked 4x during Festive Flash Sale

Engineering Triage & High-Stakes Incident Management · FinTech / Payments

CASE SCENARIO

The Challenge

During the first hour of a flagship festive e-commerce sale, Razorpay Standard Checkout latency jumps from 800ms to 3.4 seconds, and payment drop-offs increase by 8%. Engineering proposes disabling smart card-routing. How do you decide?

OPERATIONAL CONTEXTRazorpay

Merchants are burning ad spend driving traffic; every 100ms delay costs millions in lost merchant sales. The payment gateway is under unprecedented peak TPS.

01 · SCOPE DEFINITION

Clarifying Questions

  • Is the latency in Razorpay frontend JS bundle load, API routing engine, or downstream bank gateways?
  • What is the failure mode if we disable smart card-routing: higher bank decline rates vs lower latency?
  • Are enterprise merchants (Flipkart, Swiggy) affected or all merchants?
02 · WORKING PREMISES

Working Assumptions

  • Latency is caused by an overloaded database connection pool in the dynamic router service.
  • Disabling smart routing reduces latency by 2 seconds but could lower bank authorization rates by 3%.
WORKED SOLUTIONStaff PM Playbook

The Incident Triage Protocol

Deconstructed by Karthik S.Director of Product, Core Platform
01

Quantify the Trade-off Arithmetic

34s latency. Option B (Disable dynamic routing)

Latency drops to

11s (recovering ~6% of abandoned carts), but bank declines increase by 3%. Net business gain = +3% completed transactions. Decision

Approve temporary fallback to static routing.

02

Safe Degradation & Circuit Breaking

Enable degraded mode: Cache static routing tables in Redis for 10 minutes rather than querying the transactional DB on every API call. Implement circuit-breaker shedding for non-critical telemetry logs.

03

Post-Mortem & Preventive Safeguards

Conduct blameless post-mortem. Introduce pre-sale load testing at 5x forecasted peak TPS, automated failover circuit-breakers, and merchant status page automation.

Evaluate your own reasoning against what PM interviewers look for

Strong signal if

You quantified latency drop-off against bank failure rates

Compares the 8% drop-off from 3.4s latency against the 3% potential loss from static bank routing to make a data-backed triage call.

You communicated transparently with top enterprise partners

Proactively communicates to top enterprise merchants with clear remediation timelines and transparent incident post-mortems.

Red flag if

You made arbitrary architectural guesses under pressure

Panicking and making arbitrary architectural changes without knowing downstream success rates.

You went silent or blamed partner banks publicly

Going silent or blaming partner banks publicly.