Git Product home page Git Product logo

faas-mubenchmark's Introduction

Performance Testing of Cloud Service Providers

Preparation

Install the Serverless Framework and provider dependencies

npm install -g serverless serverless-openwhisk serverless-google-cloudfunctions serverless-azure-functions
npm install

Due to known bugs, some serverless plugins need to installed also locally. Use npm link for it.

Authentication

It is assumed that the accounts at the Cloud Service Providers were created and that the serverless framework is aware (by configuration) of the login credentials. During the deployment step, warnings are shown or authentication is done, which simplifies it. Also, the documentation of the Serverless Framework covers these topics.

Installing the Cloud Service Providers tool can assist in resolving errors as well (aws-cli, az, bx, gcloud).

Deployment

Run ./switchPlatfrom.sh to choose the Cloud Service Provider to deploy to.

Run sls deploy to deploy the functions.

Last, adjust the deployments urls in the ./getRequest.sh script.

Execution of performance test

Run the ./getRequest.sh script. Due to the long execution time, you might want to run it in the background and keep the output. Then use i.e. nohup ./getRequest.sh >> getRequest.log &.

Be sure that logging on the Cloud Service Provider is enabled and you know how to get the logs from there.

faas-mubenchmark's People

Contributors

timonback avatar vandriko 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.