erezh16 opened a new pull request #4320: Added owperf, a performance evaluation 
tool for OpenWhisk, under tools
URL: https://github.com/apache/incubator-openwhisk/pull/4320
 
 
   <!--- Provide a concise summary of your changes in the Title -->
   
   ## Description
   <!--- Provide a detailed description of your changes. -->
   <!--- Include details of what problem you are solving and how your changes 
are tested. -->
   The owperf tool benchmarks an OpenWhisk deployment for (warm) latency and 
throughput, with multiple capabilities:
   1. Measure performance of rules (trigger-to-action), sync and async actions
   1. Deeper profiling without instrumentation (e.g., Kamino) by leveraging the 
activation records in addition to the client's timing data. This avoids special 
setups, and can help gain performance insights on third-party deployments of 
OpenWhisk. 
   1. New tunables that can affect performance: 
      1. Parameter size - controls the size of the parameter passed to the 
action or event
      1. Actions per iteration (a.k.a. _ratio_) - controls how many rules are 
associated with a trigger [for rules] or how many actions are asynchronously 
invoked (burst size) at each iteration of a test worker [for actions].
   1. "Master apart" mode - Allow the master client to perform latency 
measurements while the worker clients stress OpenWhisk using a specific 
invocation pattern in the background. Useful for measuring latency under load, 
and for comparing latencies of rules and actions under load.
   The tool is written in node.js, using mainly the modules of OpenWhisk 
client, cluster for concurrency, and commander for CLI procssing. All the tool 
files are in a single folder tools/owperf.
   Highly-detailed documentation of the tool is available in the folder's 
README.md
   
   ## Related issue and scope
   <!--- Please include a link to a related issue if there is one. -->
   - [x] I opened an issue to propose and discuss this change (#4319 )
   
   ## My changes affect the following components
   <!--- Select below all system components are affected by your change. -->
   <!--- Enter an `x` in all applicable boxes. -->
   - [ ] API
   - [ ] Controller
   - [ ] Message Bus (e.g., Kafka)
   - [ ] Loadbalancer
   - [ ] Invoker
   - [ ] Intrinsic actions (e.g., sequences, conductors)
   - [ ] Data stores (e.g., CouchDB)
   - [ ] Tests
   - [ ] Deployment
   - [ ] CLI
   - [x] General tooling
   - [ ] Documentation
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Use `x` in all the 
boxes that apply: -->
   - [ ] Bug fix (generally a non-breaking change which closes an issue).
   - [x] Enhancement or new feature (adds new functionality).
   - [ ] Breaking change (a bug fix or enhancement which changes existing 
behavior).
   
   ## Checklist:
   <!--- Please review the points below which help you make sure you've covered 
all aspects of the change you're making. -->
   
   - [x] I signed an [Apache 
CLA](https://github.com/apache/incubator-openwhisk/blob/master/CONTRIBUTING.md).
   - [x] I reviewed the [style 
guides](https://github.com/apache/incubator-openwhisk/wiki/Contributing:-Git-guidelines#code-readiness)
 and followed the recommendations (Travis CI will check :).
   - [ ] I added tests to cover my changes.
   - [ ] My changes require further changes to the documentation.
   - [x] I updated the documentation where necessary.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to