Code Monkey home page Code Monkey logo

sfcwikiworkload's Introduction

This is a tutorial for generate 3-tired web applications for SFC experiments used in CloudSimSDN https://github.com/Cloudslab/cloudsimsdn.

Author:
TianZhang He
Jay Son (Jungmin Son)
at CLOUDS Lab, University of Melbourne.

1. wiki_workload_generator_complex_SFC.R
run function "main_history" to generate the workload for SFC expeirment used in CloudSimSDN.
Arrival rate: following the wikipedia trace. (A template trace file "overallstatpersec9-1-sfc.csv" are included.)
More wikipedia access trace can be found at http://www.wikibench.eu/?page_id=60.

# Parameters for the 3-tier web application includes webNum, appNum, dbNum.

We assumed that Load Balancer already worked, so that the workload is assigned in round-robin.
Two kinds of workoad
1. Cached workload which only arrives at Web server, no access to App or DB.
   This implies the Web server had a cached data.
2. Traditional worklaod that passes Web, App, and DB servers.

The history based workloads generations are based on the paper:
Ersoz, Deniz, Mazin S. Yousif, and Chita R. Das. "Characterizing network traffic in a cluster-based, multi-tier data center." 27th International Conference on Distributed Computing Systems (ICDCS'07). IEEE, 2007.

# Parameters for history based workloads
NETWORK_PACKET_SIZE_MULTIPLY
CPU_MULTIPLY
NUM_WORKLOAD_RATE_SCALE

#average packet size between different types of servers: FRONT(web) MID(app) BACK(bd)
PACKETSIZE_FRONT_MID
PACKETSIZE_MID_BACK
PACKETSIZE_BACK_MID
PACKETSIZE_MID_FRONT

The output results will be a list of workloads "0_appnumid_workload_wiki.csv".

2. In CloudSimSDN package "example.topogenerators", use "generateLarge3TierTopologySFC" function within "VirtualTopologyGeneratorVmTypesSFC.java" 
to generate the corresponding "sfc.virtual.json" for the SFC experiment.

Configurate the parameters numWeb, numApp, numDB, linkBw in "generateLarge3TierTopologySFC" function.
and corresponding vnf types and SFC policies in "createSFCPolicy" function.

sfcwikiworkload's People

Contributors

hetianzhang 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.