puniverse / CascadingFailureExample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cascading Failures HTTP Service Benchmark

This project contains the code for the benchmarks discussed in the post Scalable, Robust - and Standard - Java Web Services with Fibers

Installation

Clone the repository. Then copy and run the install.sh script on a clean Ubunto EC2 instance, which will install Java, clone and build the project, and configure the OS (see the next section).

The install_photon.sh script will build Photon , and place the Photon capsule (Java executable) in this project's home directory.

Running

To run the server:

./run.sh -server jetty/tomcat/undertow -threads <max-threads> [-fibers]

The -fibers flag turns on the use of fibers.

The load generator runs the code in this script.

License

MIT

About


Languages

Language:Java 79.0%Language:Shell 21.0%