Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 683 Bytes

File metadata and controls

43 lines (32 loc) · 683 Bytes

Percona University 2013

dependencies

$ 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
`