No description or website provided.
Ruby Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Percona University 2013


$ gem install bundler
$ bundle install

see slides

$ showoff serve

try demo

$ cd demo
$ vagrant up #only need to do this once
$ vagrant ssh #this gets you an ssh session to your vm

run the app

monitoring the processlist

vagrant:$ watch 'mysql -u root -A -e "show processlist"  | cut -f 6,7,8 | grep -v NULL' 

running the tests and generating load

vagrant:$ httping -g http://0:4567/v1
# in a separate window
vagrant:$ ab -c 5 -n 1000 http://0:4567/v1

watch the timings, try again with v1 through v5

destroying the vm

$ vagrant destroy