Code Monkey home page Code Monkey logo

rapid-bidder's Introduction

rapid-bidder

Real Time Bidding (RTB) - Demand Side Platform (DSP)

open-source application utilizing vanilla-rtb stack.

our DSP ecosystem

Multi-bidder-model-with-communicator-for-Win-notifications

Join the chat at https://gitter.im/vanilla-rtb/Lobby build

Structure ( how we see this structure for DSP ) :

  • / -- the root directory
    • framework/ -- vanilla-rtb stack
    • exchange_server/ -- exchange server process implementing connection to exchanges
    • budget/ -- compaign management, budget , banker
    • bidders/ -- all kind of bidders implementation goes here
    • loaders/ -- all cache loaders as service goes here
    • UI/ -- all admin html files and AngularJS stack go here
    • etc/ -- DSP configuration for all components of application
  • [CMakeLists.txt] - cmake file

This DSP depends on vanilla-rtb stack which referened via gh-submodule. To update to the latest version of vanilla-rtb stack use the following commands :

  • git clone --recursive [email protected]:vanilla-rtb/rapid-bidder.git rapid-bidder
  • git submodule update --recursive --remote
  • git pull --recurse-submodules

(๐Ÿ“—) To build DSP suite of services use following commands in the root of dsp

Linux :

  • mkdir Release
  • cd Release
  • cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/path/to/install .. -G "Unix Makefiles"
  • gmake VERBOSE=1
  • cd ..
  • mkdir Debug
  • cd Debug
  • cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/path/to/install .. -G "Unix Makefiles"
  • gmake VERBOSE=1

add -DVANILLA_NO_EXAMPLES=1 if you don't want to build vanilla-rtb examples

Windows :

same steps as above for linux , only difference is depending on your environment either Visual Studio or NMake project can be used

  • cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/path/to/install .. -G "NMake Makefiles"
  • cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/path/to/install .. -G "NMake Makefiles"
  • cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/path/to/install .. -G "Visual Studio 14 2015"
  • cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/path/to/install .. -G "Visual Studio 14 2015"

In case your Boost library is not installed under /usr/include/boost add where you boost library installed

to cmake coomand with -DBOOST_ROOT=/where/boost/is/installed

For faster builds invoking multiple make processes , find number of cores on your system

Linux command :

  • nproc

4

pass it to your make script like this gmake -j4 install

Running application as individaul steps (could be all put in one rapid-bidder.sh):

  • HTTP-Bidder
    • rapid-bidder/install/bin$ ./http_bidder --config etc/config.cfg
  • Starting multiple bidders in one swoop, currently configured as 5 bidders in config
    • rapid-bidder/install/bin$ ./multi_bidder --config etc/config.cfg
  • Cache loader
    • rapid-bidder/install/bin$ ./cache_loader --config etc/config.cfg
  • Exchange Handler distributing to multi-bidders via communicator
    • rapid-bidder/install/bin$ ./multi_bidder_exchange_handler --config etc/config.cfg

rapid-bidder's People

Contributors

venediktov avatar

Watchers

Arseny Bushev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.