nobidder
Experiments in writing a no-bid openrtb http server
Implementations
go-vanilla
- Go vanilla implementation with standard lib HTTP server and JSON parsergo-fast
- Go implementatin with faster 3rd-party HTTP and JSON librariesrust-actix
- Rust implementation on the actix web frameworkrust-axum
- Rust implementation on the axum web frameworkpython-aiohttp
- Python implementation on the aiohttp web framework and orjson JSON parser
Behavior
Each server listens on http://127.0.0.1:8080/ and supports these paths:
GET /ping
- self-explanatoryPOST /bidder
- Accepts and parses OpenRTB JSON and returns a no-bid response (HTTP 204)
Other
data
- Supporting test payloads
Invocation
# Server invocations
make nobidder-go-vanilla
make nobidder-go-fast
make nobidder-rust-actix
make nobidder-rust-axum
make nobidder-python-aiohttp
# Client invocations
make curl-ping
make curl-bid
make wrk-ping
make wrk-bid