Public Repository

Last pushed: 2 years ago
Short Description
This is a small stateless webapp for demoing load balancing.
Full Description

While each instance maintains a request count to demonstrate load sharing among instances, the count is not preserved if the app is restarted.


/hostname to obtain the hostname
/count to get the request count.
/compute/100 to perform a computation during 100ms (approximately)
/compute/100,200 to perform a computation for a random interval between 100 and 200ms

Docker Pull Command