Three two times numbers deceived me
March 2023
Vivek Pandey
Outline
Programming vs deducing
Bugs in thinking
Case Study 1: Simpson's paradox
Case Study 2: AFS Timeouts
TS
Merchant Server
User clicks "Pay Using Simpl" option
charge call
AFS (Anti Fraud Service)
"AFS call"
100ms SLA
We thought AFS is performing well
We had some frauds going on in Zomato...
Oct 17, 3:02:45 | Some event |
Oct 17, 3:05:45 | Some event |
Oct 17, 4:34:34 | Approval event |
Oct 17, 4:35:06 | Charge call successful |
Oct 17, 4:35:10 | Account blocked |
We had some frauds going on in Zomato...
Oct 17, 3:02:45 | Some event |
Oct 17, 3:05:45 | Some event |
Oct 17, 4:34:34 | Approval event |
Oct 17, 4:35:06 | Charge call successful |
Oct 17, 4:35:10 | Account blocked |
we are blocking the user so why are we not denying charge call?
Only explanation is timeout, but timeout is low
Findings: 1/2 - When does a timeout hurt?
Findings: 2/2 - Detailed stats