In 2 hours, I can eat 4 tapas.
If I bike for 1 hour first
Slide 10
Slide 10 text
In 2 hours, I can eat 4 tapas.
If I run for 1/2 hour first
Slide 11
Slide 11 text
Increase your capacity for doing X
SCALE
/skāl/
Slide 12
Slide 12 text
Increase your capacity for doing X
SCALE
/skāl/
while minimizing the resources
required to actually do it
Slide 13
Slide 13 text
Maximum API Requests
Servers
We can’t afford
this many servers
Slide 14
Slide 14 text
DOES YOUR API
SCALE?
Slide 15
Slide 15 text
Well, our API is written in ruby
- Some Developer Somewhere
so it must scale, right?
Slide 16
Slide 16 text
Well, our API is written in python
- Some Developer Somewhere
so it must scale, right?
Slide 17
Slide 17 text
Well, our API is written in node.js
- Some Developer Somewhere
so it must scale, right?
Slide 18
Slide 18 text
Well, our API is written in language x
- Some Developer Somewhere
so it must scale, right?
Slide 19
Slide 19 text
FUNNY
Smells a bit
Slide 20
Slide 20 text
LIVE
WE’LL DO IT
Slide 21
Slide 21 text
3
60
4
40
Evangelists
Employees
Billion Monthly Emails
Billion Total Emails
March 2012
Slide 22
Slide 22 text
6
140
8
115
Evangelists
Employees
Billion Monthly Emails
Billion Total Emails
June 2013
Slide 23
Slide 23 text
NOT BAD
Slide 24
Slide 24 text
EXIT
DEVELOPERS WON’T WAIT
FOR YOU TO SCALE
Slide 25
Slide 25 text
MEASURE
TEST
DEPLOY
Slide 26
Slide 26 text
Always code as if the guy who ends up
maintaining your code will be a violent
psychopath who knows where you live
“
”
- John F. Woods
code
maintaining code
Slide 27
Slide 27 text
Always code as if the guy who ends up
maintaining your code will be a violent
psychopath who knows where you live
“
”
- John F. Woods
test
consuming API
Slide 28
Slide 28 text
LOAD TEST?
How do you
Slide 29
Slide 29 text
Quitting is easy,
I’ve done it thousands of times
“
”
- Who the hell knows
Slide 30
Slide 30 text
No content
Slide 31
Slide 31 text
No content
Slide 32
Slide 32 text
Create tests
easily!
Slide 33
Slide 33 text
REST
PLAYS NICE WITH
Slide 34
Slide 34 text
Cycling Non-Cycling
and
Two kinds of tests
Slide 35
Slide 35 text
WEB
APP?
Slide 36
Slide 36 text
Do we look like noobs?
Slide 37
Slide 37 text
POST /tests
GET /tests
GET /tests/{id}
GET /tests/{id}/results
PUT /tests/{id}/stop
Slide 38
Slide 38 text
FREE
BEER
(as in)
Slide 39
Slide 39 text
3.5
16
7,500
Billion Connections
Terabytes of Data
Apps Tested
June 2013
35,000 Tests Performed