Skip to content

leanrobot/school-go-class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Time Server. Written by Tom Petit.
Winter 2015, CSS 490 - Tactical Software Engineering

version: assignment-05.rc01

RECOMENDED OPTIONS =============================================================

./bin/authserver --log=etc/authserver_seelog.xml &
./bin/timeserver --port=8080 --max-inflight=80 --avg-response-ms=500   --deviation-ms=300 &
./bin/loadgen --url='http://localhost:8080/time' --runtime=10s --rate=200 --burst=20 --timeout=1000ms

Usage of bin/timeserver ========================================================
  -V=false: Display version information
  -auth-timeout-ms=1000: The timeout in milliseconds when timeserver talks to the authserver.
  -authhost="localhost": The network address for the auth server
  -authport=9090: The port which to connect to the authserver on.
  -avg-response-ms=5000: The average amount of duration in milliseconds to wait in order
		to simulate load
  -checkpoint-interval-ms=10: Performs a save to dumpfile every checkpoint-interval.
  -deviation-ms=500: The value of one unit of standard deviation from the
		average response.
  -dumpfile="": The location of the dumpfile for user data.
  -log="etc/seelog.xml": the location of the seelog configuration file
  -max-inflight=0: The maximum amount of conurrent requests to serve.
  -port=8080: port to launch webserver on, default is 8080
  -templates="src/bitbucket.org/thopet/timeserver/templates": the location of site templates


GIT REPOSITORY:

The git repository root is located in:
	go_workspace/

BUILDING:

	A Makefile is provided in the project root. 
	run 'make install' to build and install.

	The binary generated is 'bin/timeserver'.

	logs are stored in log/

BUGS:
	Bugs are detailed using the BUG: tag in the code.
TODO:
	TODOs are detailed using the TODO: tag in the code.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published