Back to All ProjectsAd Tech · Real-Time Systems
Real-Time Bidding Engine
Sub-200ms programmatic ad auction engine processing millions of OpenRTB 2.x bid requests daily.
<200msResponse SLA
OpenRTB 2.xProtocol
Billions of eventsData Volume
Overview & Purpose
A Go-based Demand-Side Platform (DSP) bidding engine at the heart of a programmatic advertising exchange. Receives bid requests from SSPs, filters campaigns via RedisSearch, runs auction logic, and returns bid responses — all under a strict 200ms SLA. Bi-directional analytics decoupled from the hot path via Redis Streams into ClickHouse.
Key Technical Highlights
- RedisSearch FT.SEARCH for first-stage campaign matching with O(log N) complexity
- Analytics decoupled via Redis Streams — bid response unaffected by analytics writes
- Goroutine-per-request async analytics tracking with zero blocking
- ClickHouse analytics worker with configurable batch-insert intervals
- Aerospike for URL canonicalization caching — strips tracking tokens, sorts query params