Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fukata/rtb-server

RTB server mocks and benchmarks.
https://github.com/fukata/rtb-server

Last synced: 29 days ago
JSON representation

RTB server mocks and benchmarks.

Awesome Lists containing this project

README

        

rtb-server
==========

RTB server mocks and benchmarks.

# Specifications
## for SSP side
### Timeout
- 120 ms

### Auction
- 1st price auction

### Routes

- /ad
- method: GET
- parameters
- dsp: total DSP number.
- dN_t: DSP bid response time.
- dN_s: DSP bid response status.
- dN_p: DSP bid response auction price.

## for DSP side
### Routes

- /ad/dN
- method: GET
- parameters
- t: bid response time.
- s: bid response status.
- p: auction price.
- response
- format: json

===
{
"id": "${UNIQUE BID ID}",
"price": "${PRICE}"
"status": "${STATUS}"
}

# Benchmak
## Make Scenario
$ bundle exec ./bin/make_scenario --num 10000 --dsp 5 --rate 50 --out /tmp/scenario_10000
## HTTP Access
$ ./lib/http_load/http_load -timeout 1 -parallel 100 -seconds 60 /tmp/scenario_ssp_10000