Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timonback/faas-mubenchmark
Performance benchmark tool for serverless cloud platforms and collected data
https://github.com/timonback/faas-mubenchmark
benchmark cloud faas serverless serverless-framework
Last synced: 2 months ago
JSON representation
Performance benchmark tool for serverless cloud platforms and collected data
- Host: GitHub
- URL: https://github.com/timonback/faas-mubenchmark
- Owner: timonback
- Created: 2018-05-18T10:03:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-24T14:46:10.000Z (over 6 years ago)
- Last Synced: 2024-10-10T05:38:06.229Z (3 months ago)
- Topics: benchmark, cloud, faas, serverless, serverless-framework
- Language: JavaScript
- Homepage: https://www.springer.com/gp/book/9783319998183
- Size: 84 KB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.