Skip to content

Master project. Simulator to find the optimal deployment model of FaaS and VM-based instances to reduce cost

Notifications You must be signed in to change notification settings

search-rug/thesis-msc-simulator

 
 

Repository files navigation

Cloud Load Simulator

CircleCI

It simulates various loads towards a cloud environment. Based on the configuration, the cost for handling all requests is calculated. In many cases (depending on the load characteristics), the cost can be reduced by moving certain requests to FaaS (Function as a Service).

This is a Python 3 project that requires the dependencies to be install via python3 setup.py install (virtualenv is recommended in general).

All of the configuration is done in the simulator/configuration.py file. A description and an example on how to tune the simulator to a specific application scenario is provided in the README_usage_and_tuning_process.md file.

Standalone

Run python3 main.py

Server

Run python3 serve.py

Then open http://localhost:8888/index.html

Screenshot

Tests

Run the tests python3 setup.py test. A coverage report is generated in ./htmlcov.

Profiling

Run the tests python3 setup.py test to profile. Convert the profiling file (profiler.dmp) into a readable file with python3 util/analyze_dmp.py profiler.dmp profiler.log.

About

Master project. Simulator to find the optimal deployment model of FaaS and VM-based instances to reduce cost

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.5%
  • Python 10.5%
  • HTML 3.0%