This project contains the code for the benchmarks discussed in the post Scalable, Robust - and Standard - Java Web Services with Fibers
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.
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.
MIT