GithubHelp home page GithubHelp logo

alexxnica / incubator-openwhisk-performance Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daisy-ycguo/incubator-openwhisk-performance

0.0 0.0 0.0 19 KB

Apache openwhisk performance benchmarks

Home Page: https://openwhisk.apache.org/

License: Apache License 2.0

Shell 99.37% Lua 0.63%

incubator-openwhisk-performance's Introduction

๐Ÿ”Œ Apache OpenWhisk - Performance Tests

A few simple but efficient test suites for determining the maximum throughput and end-user latency of the Apache OpenWhisk system.

Workflow

  • A standard OpenWhisk system is deployed. (Note that the edge NGINX router and API Gateway are currently left out. As a consequence, the tests talk directly to the controller.)
  • All limits are set to 999999, which in our current use case means "No throttling at all".
  • The deployment is using the docker setup proposed by the OpenWhisk development team: overlay driver and HTTP API enabled via a UNIX port.

The load is driven by either the beautiful loadtest module or the blazingly fast wrk.

Travis Machine Setup

The machine provided by Travis has ~2 CPU cores (likely shared through virtualization) and 7.5GB memory.

Suites

Latency Test

Determines the end-to-end latency a user experience when doing a blocking invocation. The action used is a no-op so the numbers returned are the plain overhead of the OpenWhisk system.

  • 1 HTTP request at a time (concurrency: 1)
  • 10.000 samples with a single user
  • no-op action

Note: The throughput number has a 100% correlation with the latency in this case. This test does not serve to determine the maximum throughput of the system.

Throughput Test

Determines the maximum throughput a user can get out of the system while using a single action. The action used is a no-op, so the numbers are plain OpenWhisk overhead. Note that the throughput does not directly correlate to end-to-end latency here, as the system does more processing in the background as it shows to the user in a blocking invocation.

  • 4 HTTP requests at a time (concurrency: 4) (using CPU cores * 2 to exploit some buffering)
  • 10.000 samples with a single user
  • no-op action

Running tests against your own system is simple too!

All you have to do is use the corresponding script located in /tests folder, remembering that the parameters are defined inline.

incubator-openwhisk-performance's People

Contributors

alexxnica avatar markusthoemmes 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.