No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src/main/java/co/paralleluniverse/photon
.gitignore
LICENSE
README.md
build.gradle
gradlew
gradlew.bat
log4j.xml
run.sh
settings.gradle

README.md

Photon

A small HTTP load testing app that lets you fire tens of thousends concurrent HTTP reuquests from a single computer. To do this photon spawns a fiber (lightweigt thread) instead of a real thread for each connection. Photon is based on Quasar and Comsat.

Usage

Download photon.jar. This is a capsule jar so you can simply run it by:

usage: java -jar photon.jar [options] url
 -duration <arg>         test duration in seconds
 -help                   print help
 -maxconnections <arg>   maximum number of open connections
 -minmax                 print min/mean/stddev/max stats when finish
 -name <arg>             test name to print in the statistics
 -print <arg>            print cycle in millis. 0 to disable intermediate
                         statistics
 -rate <arg>             requests per second
 -stats                  print full statistics when finish
 -timeout <arg>          connection and read timeout in millis

License

Copyright 2014 Parallel Universe Software Co.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

<http://www.apache.org/licenses/LICENSE-2.0>

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.