An OpenRTB bidder built around a latency budget
A production bidding service in Go that I build and run at work.
The numbers
- About 30 requests per second of current traffic
- Able to handle thousands of requests per second
- 240ms latency at p95
Figures as of December 2026. Internal design details are left out on purpose.
The problem
An ad exchange sends a bid request and waits only briefly. A late answer is the same as no answer. The service has to decide whether to bid, how much to pay and what to show, all inside that window.
What matters in a bidder
- A latency budget. Every step gets a share of the total time, and slow dependencies have limits.
- Rejecting early. Requests that will never win a bid should cost as little as possible.
- A short request path. Anything the response doesn't need, such as reporting, shouldn't delay it.
- Watching the tail. Averages hide the requests that miss the auction, so p95 is the number to follow.
Got a bidder that's timing out or losing auctions?
Email haiderzamanusafxay@gmail.com and tell me what's going on.