GithubHelp home page GithubHelp logo

cooper's Introduction

Cooper

Co-location optimized elastic runner for microservices

Reference implementation/prototype of the CaaS middleware developed in the course of the corresponding master thesis at TU Wien / Distributed Systems Group.

Prerequisites

Build

First, we need to install the CPLEX JAR library in the local Maven repository for later use.

On macOS, the installation command would look like this:

$ mvn install:install-file \
    -DgroupId=cplex \
    -DartifactId=cplex \
    -Dversion=12.10.0 \
    -Dpackaging=jar \
    -Dfile=/Applications/CPLEX_Studio1210/cplex/lib/cplex.jar

Set the -Dfile path accordingly to point at the correct location of the cplex.jar file inside your CPLEX installation.

To build Cooper:

$ mvn clean install

Run Cooper

The following command runs the compiled Cooper JAR with all necessary arguments set:

$ java -jar \
    -Djava.library.path=/Applications/CPLEX_Studio1210/cplex/bin/x86-64_osx \
    -Dscenario=a \
    -Dstrategy=ILP-NC \
    -Dmultiplicator=1 \
    target/Cooper.jar
  • -Djava.library.path: Set this to the binary path of your CPLEX installation (sample for macOS). Required for CPLEX to work at runtime.
  • -Dscenario: The scenario configuration to use.
  • -Dstrategy: The optimization strategy applied. Available values: ILP | ILP-NC | GA | GA-NC | FF
  • -Dmultiplicator: An integer multiplication factor for load fixture. 1 | 10 | 100

License

Apache License Version 2.0

cooper's People

Contributors

alexwais avatar

Stargazers

Mahmoud Rusty Abdelkader avatar

Watchers

James Cloos avatar  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.