BotNetwork

Log signature verify latency separately

Know whether ACK slowness is crypto or business logic.

Published 1 min read

Takeaway

Split verify time from handler time.

Why

Otherwise you optimize the wrong side of the request.

Do this

  1. Timer around HMAC verify.
  2. Timer around business handler.
  3. Alert if verify alone approaches the platform deadline.

Tools