-
Notifications
You must be signed in to change notification settings - Fork 406
How to use the mock exchange
In this document, we'll show how the configure and extend the mock exchange to generate synthetic bids that can be useful in the context of a test environment for staging changes, test stability and performance.
As it names implies, the mock exchange simulate an actual exchange. It relies on a BidSource
to produce bids and on a WinSource
to produce wins and other optional events. Thus, both bid serving and ad serving part of the stack were merged into a single unique entity. This seems like a reasonable simplification in this situation.
Bid and win sources comes in many flavour and mirror the available exchange and adserver connector that are present in RTBkit. In most cases, authoring a connector should include its corresponding source to enable its usage with the mock exchange.
For example, the OpenRTBExchangeConnector
has a corresponding OpenRTBBidSource
to produce bids in a format that match the protocol expected by the exchange connector.
Writing a bid source is pretty straitforward and is tied to the.
- Getting Started
- Pull Request Guidelines
- Coding Standards
- Demo Stack
- How to compile static filters test
- RTBkit Binary Package
- Architecture
- Bid Request Lifecycle
- ZooKeeper Nodes
- Load Shedding
- Banker
- Post Auction Loop State Machine
- Post-Auction Loop Sharding
- ZMQ Endpoints