https://github.com/devawal/akka-http-bidder
Scala Akka simple bidding agent
https://github.com/devawal/akka-http-bidder
Last synced: 9 months ago
JSON representation
Scala Akka simple bidding agent
- Host: GitHub
- URL: https://github.com/devawal/akka-http-bidder
- Owner: devawal
- Created: 2019-05-16T18:53:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-21T11:15:36.000Z (about 7 years ago)
- Last Synced: 2025-03-28T07:43:43.893Z (over 1 year ago)
- Language: Scala
- Size: 20.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# akka-http-bidder
Scala Akka simple bidding agent
Using Scala and Akka framework create a real time bidding agent that responds to bid requests with bid responses.
Agent is simply a HTTP server that accepts json requests, does some matching (bidding) logic and responds with a json response.
Campaign protocol:
It's contains TimeRange, Targeting, Banner case class
BidRequest protocol:
It will process incomming POST bid request JSON data for internally checking with campaign protocol, after do some checking
BidResponse class will return data for JSON request.
If incoming JSON parameter not match with campaign protocol then HTTP 204 response will be return