GithubHelp home page GithubHelp logo

kryndex / incubator-openwhisk-performance Goto Github PK

View Code? Open in Web Editor NEW

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

0.0 2.0 0.0 17 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

Performance tests for Apache OpenWhisk

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

Test setup

  • A standard OpenWhisk system is deployed. Note that the edge nginx router and API Gateway are left out currently. As a consequence, the tests talk directly to the controller.
  • Limits are set to 999999 each, for the test's load that means: No throttling at all.
  • The deployment uses a docker setup as 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

The latency test determines the end-to-end latency a user experiences when doing a blocking invocation. The action used is a noop so the numbers returned are plain overhead of the OpenWhisk system.

  • 1 HTTP request at a time (concurrency: 1)
  • 10.000 samples with a single user
  • noop 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

The throughput test determines the maximum throughput a user can get out of the system while using a single action. The action used again is a noop, 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) (basically CPU cores * 2 to exploit some buffering)
  • 10.000 samples with a single user
  • noop action

Running the suites yourself

To run the suites against your own system (or any other OpenWhisk deployment really), simply use the repsective script in /tests script. Their parameters are defined inline in the respective file.

incubator-openwhisk-performance's People

Contributors

markusthoemmes avatar

Watchers

James Cloos avatar  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.