CrackOps
Interview PrepTracksLinuxAWS LabSoonInterview RoomSoon
Sign inStart free
CrackOps

Interview prep for the people who keep production up.

[email protected]
ProductInterview PrepTracksDashboardInterview Room
RolesDevOpsSREPlatformCloud
CompanyAboutContactPrivacyTerms
© CrackOps
Tracks/Production Incidents
Expert 4 minTroubleshooting

A payment partner slows down and your own retries turn it into an outage. How do you stop the storm?

Scenario

An Indian UPI payments app sends payments through a PSP adapter service that calls one sponsor bank's switch. The call path is app to API gateway to orchestrator to PSP adapter, all on Kubernetes with an Istio mesh. At 8:10 p.m. on a sale day the bank's p99 rose from 300 ms to 4 s; within three minutes calls to the bank went from 9,000 to 41,000 per second, the orchestrator's thread pools were exhausted, and payments routed through the other two healthy sponsor banks also started failing.

The interviewer asks

“A sponsor bank's latency went from 300 milliseconds to 4 seconds, and now our request rate to them is several times normal and everything is timing out, including payments to healthy banks. Walk me through how you stop it right now, and then how you'd make sure it can't happen again.”

The 30-second answer

First I stop the amplification: open the breaker for the slow sponsor bank and steer new payments to the healthy two, switch off retries at every layer except one, and cap concurrency to that bank so its slowness can't consume shared threads. For payments specifically, a timeout becomes PENDING and is resolved by status check on the same transaction ID, never by re-sending. The math explains the urgency: three layers each making three attempts is up to 27x load, and a 4-second latency alone needs 13x the concurrency by Little's law. Long term: one retry layer with exponential backoff and full jitter, retry budgets, deadlines that shrink as they propagate, per-partner bulkheads and load shedding before saturation.

Sign in to finish this question

A free account unlocks the rest of it, and saves your progress across every track.

  • The voiced mock interview (4 min)
  • The full senior answer, step by step
  • Animated architecture diagrams
  • The whole conversation, 14 turns
  • Deep dive: how it works, mistakes, risks and trade-offs
  • 3 copy-ready command snippets
  • 5 follow-up questions they'll ask next
  • A self-check of 8 things interviewers listen for
Create a free accountSign in

More Production Incidents interview questions

  • The end-of-day settlement batch used to finish by 06:00 and now ends at 09:00. How do you find out why?
  • The database failed over, but the application keeps talking to the old primary. What do you do?
  • Playback failures spike for 3% of APAC viewers while CPU, memory and pods look fine. How do you triage it?
  • Kafka lag hits two minutes during a surge, but the consumers are idle. Where do you look?
  • p99 latency on the Redis session store jumps 40x mid-match while p50 is fine. How do you find the cause?
  • Payment success rate has dropped for one bank only. How do you find out whose problem it is and protect users?
All Production Incidents questions

Linux commands for this track

  • strace Trace the system calls a process makes
  • ltrace Trace the library calls a program makes
  • lsof List open files, sockets and the processes holding them
  • dmesg Read the kernel's message log
  • perf Profile where CPU time goes, kernel and user space
  • gdb Debug crashes, core dumps and hung processes
  • coredumpctl Find and open core dumps captured by systemd
  • sar Collect and replay system activity history