Git Product home page Git Product logo

faasim's Introduction

FaaSim

FaaSim is a discrete-event simulator for modeling main-stream serverless systems. It disaggregates the three scheduling dimensions: (1) load balancing, (2) autoscaling, and (3) placement. The algorithms of each dimension are pluggable, enabling the exploration of multiple policy choices in one system.

( This is a prototype that I developed as a proof of concept for my research at ETH. For more details: Hongyu He <[email protected]> )

Architecture of FaaSim

Setup

$ pip3 install -r requirements_dev.txt

Run

$ python3 faasim <rps | test>

Validation

The following validations were conducted against the popular serverless platform Knative.

For the following experiments, the hardware specifications are the following:

  • Cluster size: 2 nodes (1 master + 1 worker)
  • Number of cores per node: 16 -> maximum theoretical throughput is 16 requests per second
  • Function execution time: 1 s (50 percentile from Azure function trace)
  • Function memory footprint: 170 MiB (50 percentile from Azure function trace)

CPU Utilization

Validation of CPU utilization

Memory Usage

Validation of memory usage

Latency & Cold Start

In the following experiments, the system was not warmed up in order to preserve cold start.

  • CDF:

Validation of Queuing Latency

  • 50 percentile (p50):

Validation of p50 Queuing Latency

  • 99 percentile (p99):

Validation of p99 Queuing Latency

Autoscaling

Validation of Autoscaling

faasim's People

Contributors

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