Takeaway
Split verify time from handler time.
Why
Otherwise you optimize the wrong side of the request.
Do this
- Timer around HMAC verify.
- Timer around business handler.
- Alert if verify alone approaches the platform deadline.
BotNetwork
Know whether ACK slowness is crypto or business logic.
Split verify time from handler time.
Otherwise you optimize the wrong side of the request.