Webscale For The Rest of Us
You’ve got ninety-nine problems, but needing a highly available distributed key value store ain’t one
Hi, I’m @johnbarton
I co-founded this thing right herewhich will show up on nearly every slide
I hear that brand awareness is important
Webscale For The Rest of Us
TL; DL: Did you see all that awesome shit that Braintree built? Don’t build that.
Rails is Omakase
Credit: http://www.flickr.com/photos/avlxyz/4759859329/
A Danish word for “My bat, my ball, my rules...”
Credit: http://www.flickr.com/photos/rooreynolds/243810229/
Credit: http://www.themoviedb.org/movie/80767-jiro-dreams-of-sushi/backdrops
Let’s Define Terms
Scaling is doing more of whatever makes you money with some money left over
The Menu
MVC, Migrations, Asset pipeline, TDD, Coffeescript, Bundler, etc
The Wine List
2+ Developers, doing “DevOps”on a vanilla rails stack, to 2+ load balanced web servers, in front of
a master/slave SQL setup
Rails without DevOps makes no sense at all
1970 1980 1990 2000 2010
Developer Salaries RAM Prices
Source: My overactive imagination (2013)
Single Responsibility Principle
A class should have one and only one reason to change
Single Responsibility Principle
A class server should have one and only one reason to change
... or fail, or bottleneck
Y.A.G.N.I.
Credit: http://www.themoviedb.org/movie/8195-ronin/backdrops
“Lady, I never walk into a place I don't know how to
walk out of.”
What about CACHING?
This is the big “it depends”
MongoDB is the Ed Hardy t-shirt
of DatastoresCredit: http://www.flickr.com/photos/leumund/3800973404/
Stick with SQL for your datastore
Please Note: I did not say “Postgres Rulez” or “OMFG MySql”
If you can’t afford two, you can’t afford one
App servers, Database servers, Developers
There are only three numbers to know
Zero, One, and Many
#emumarchJohn Allspaw
Head of Ops for Etsy
1 Blog post per week on something opsy
A Concrete Example
Comparing the two Goodfilms product stacks...assuming I have not rambled too long
Fin
http://goodfil.ms @johnbarton http://whoisjohnbarton.com/