Giter VIP home page Giter VIP logo

acmeairserverless's Introduction

WasteLess

This is the replication package tied to the paper "WasteLess: An Optimal Resource Provisioner for Second generation Serverless Applications" submitted to ASE2024 Research Track. WasteLess is implemented in Python and Matlab and depends on several Python packages listed in the requirements.txt file.

Contents of the Package

  • Folder Acmeair_variants contains all the variants of AcmeAir used for the experimentation
  • For each Variant we have a folder for each function and all the script used for deploying and configuring the function Google Cloud Run
  • The Workload is specified in the folder clientEntry within each variant directory. The file SimpleWorkload.py is the locust specification of the workload. In this folder are saved also all the results obtaining by runing the corresponding Acmeair variants uder the three scenarios of the paper, i.e.,no-concurrency, GCR, Wasteless
  • The folder MPP4LQN contains the tool to automatically generate a fluidLQN from a python decription of the model
  • The folder results contains the results of the experimentation. To ease replicability we already included all the results obraining with our experimentations
  • The folder plot contains the Matlab scripts for generating the plot and the actual paper figures
  • The file extractExpData.py is the script for preprocessing the data before creating the plots
  • The file runexp.py contains the code to deploy and tun the experiments on google cloud

Requirements

The following tools are required to install and run WasteLess:

  • Python 3.9+
  • pip 21.2.4+
  • Matlab R2024a+
  • gcloud

You can download and install Python from the Python website. Matlab instead is a propetary tool that can be downloaded from here Matlab website. We just use matlab for genrating plots and a trial version is sufficient. Finally gcloud is the command line utility for interacting with Google Cloud and can be downloaded fom here Gcloud website

Installation

To install dependencies, run the following command:

pip install -r requirements.txt

This command will automatically download and install all the required packages. Now that you've installed all the dependencies, you're ready to replicate the results. Below, we provide instructions on how to run and use it.

Experiments Replication

  • For reproducing all the paper's plots issue the following commands:
#To run all the experiments on google cloud run (optional)
python3 runexp.py
#To preoprocess data (optional)
python3 extractExpData.py
#To reproduce the plots
cd plot
#Where matlab is the Matlab executable. Please set this command as an environment variable or specify the full Matlab executable path
matlab  -nodesktop -r "run('plot_overall.m');quit();"




acmeairserverless's People

Contributors

bistrulli avatar

Watchers

 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.