Skip to content
Simulates a web server running multiple threads and the amount of memory it needs
Branch: master
Clone or download
Latest commit df39657 Oct 28, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore First Oct 28, 2019
Gemfile First Oct 28, 2019
Gemfile.lock First Oct 28, 2019
simulate.rb Fix an issue with multiple threads Oct 28, 2019

Simulate Memory needs for serving web requests


$ bundle install


$ ruby simulate.rb

When you do this a graphic will be generated to the tmp directory with the simulation results and if you're on a mac or linux machine the image will pop up.


Simulate multiple threads:

$ THREAD_COUNT=5 ruby simulate.rb

Look at the environment variables at the top of simulate.rb for more options.

You can’t perform that action at this time.