← Haider Zaman

Real-time bidding and OpenRTB bidder development in Go

DSP bidders that answer inside the auction window, every time.

A bidder has one job and very little time to do it. The exchange sends a request, and if your response isn't back before the timeout, you didn't bid. It doesn't matter how smart your targeting is. That's why I build bidders in Go and design them around the latency budget first and the features second.

What I've built

At Advergic I built and run our DSP bidder service in Go, speaking OpenRTB 2.x with a sub-200ms latency target. The bid endpoint runs as an eight-stage pipeline:

Where bidders usually go wrong

Most slow bidders I've looked at have the same few problems:

Fixing these usually means profiling the real request path, giving each stage a share of the budget, wiring the request deadline through every call, and moving anything that isn't needed for the response out of the way.

How I can help

Got a bidder that's timing out or losing auctions?

Email haiderzamanusafxay@gmail.com with your setup and the numbers you're seeing, and I'll tell you where I'd look first.