Coder Social home page Coder Social logo

mehdimo / data-generator-based-on-google-trace Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 4 KB

A script to generate dataset based on Google cluster traces for Aution-based Internet of Things (IoT) applications

Python 100.00%
google-trace internet-of-things data-generator online-auction dataset iot

data-generator-based-on-google-trace's Introduction

Data Generator based on Google Trace Dataset

The dataset generated by this application is an adaptation of google cluster trace dataset. We used 'task events' table as the source of requests for Auction-based IoT applications. In the processed dataset, we have the following fields separated by comma.

  • Job id
  • Task id; job id and task id taken directly from the original dataset. They together represent the unique requests in the system.
  • Arrival time
  • Finish time
  • Delay sensitivity (ds), a number between 0 and 3 (3 means that a request is more delay sensitive).
  • Service rate (mu), assigned base on the delay sensitivity of the request and a random uniform number between -0.005 ~ 0.005.
  • Number of clouds, which is picked proportional to the delay sensitivity (ds). It is a random number between 2^(ds) and 2^(ds+1).
  • Payment, calculated based on the requested resource usage (cpu, memory and disk) and an approximate standard google cloud pricing plan.
    computePrice = 0.0006  // dollor per minute
    diskPrice    = 0.00015 // dollor per minute
    unitPay = computePrice * (cpuUsage + memoryUsage) + (diskPrice * diskUsage)
    payment = (1+unitPay) * (duration* mu * N) 

The order of the fields is (Job id, Task id, arrival time, finish time, delay sensitivity, payment, service rate, number of clouds).

data-generator-based-on-google-trace's People

Contributors

mehdimo avatar

Stargazers

 avatar  avatar

Watchers

 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.