OpenRTB 2.5 Bidder

To respond to “bid” requests from various exchanges making decisions and responding appropriately within a set time limit of around ~150ms. Ability to handle 20+ million requests per hour.

Skills & Technologies

PHP
Fluentd
AWS Lambda (javascript)
AWS ECS
Docker
Simple Queue Service
Amazon Redshift
PHP roadrunner
TDD

The server

The backend receiving the bid requests was built using PHP with roadrunner as the application server. It is able to examine bid requests and match them to bid responses on average in 1.5ms.

The code has 97% test coverage.

Operations

The setup makes use of containers hosted on ECS and deployed using github actions to AWS via a blue/green roll out.

Stats, logs & data makes it way out using a combination of fluentd, AWS Lambda, SQS and redshift.