http://rails.livecubeapp.com
NYC on Rails
WiFi: FlatironSchool
Password: 33west26
Testing Performance
with Livecube
and Ninefold
\(^∀^)メ(^∀^)ノ
@mookiy and @justinschier
http://rails.livecubeapp.com
Justin Schier
Biology >> Computer Science
Whew.
Purpose: In this lab we...
Hypothesis:
Apps hosted on Ninefold perform better
http://rails.livecubeapp.com
What is it?
Why is it so important?
How do we test it?
Load Testing
Put demand on a system
Test the response
Simulation of real world traffic
How it is
How it should be
Alternatively...
#netneutrality
Math!
Apdex
T-value = 500
F = 4T = 2000
0.95 is the best
Unique Requirements
0-500 concurrent users in 10 seconds flat
30 minutes of constant use during presentations
0 room for error
Vocabulary
Concurrent Users
Duration
Response Time
Rampup Time
Apdex 0.95 [500]
flood.io
wanted to use ruby-jmeter
had to use actual jmeter
And so it began...
Soul searching
Controls
Baseline results
T-value = ??
Duration = ??
20 seconds for 200 users
Livecube UI
Real-time Interaction
Infrastructure? What's that?
3x 2GB server
Total RAM = 6GB
Apdex = 0.58 [3000]
6x 1GB server
Total RAM = 6GB
Apdex = 0.34 [3000]
Not all RAM is equal
12 Dynos
Total RAM = ~6GB
Apdex = 0.75 [3000]
Better...?
Help me Obi-Shaun, you're my only hope!
3rd Party APIs
Finally, positive results!
need img of ryu kicking
Results, please!
Ninefold
Heroku
Concurrent users = 200
T-value = 20000
Apdex
0.95
0.92
Ninefold
Heroku
Concurrent users = 600
T-value = 20000
Apdex
0.95
0.85
Tests Resume...
New Results
Prizes!!
https://gist.github.com/livecube/1c7c7c395150d5bf5e19
Load Testing with Livecube
By rbatta
Load Testing with Livecube
- 943