If a website architect is the quarterback, then site operations is the offensive line—overworked, underappreciated, and only noticed when it fails. They make you look good. However, four years ago cloud computing networks like Amazon Web Services and Slicehost have appeared. While deficiencies in frameworks in other languages have forced those worlds to adopt
Infrastructure-as-a-Service, the PHP world—with it’s ultra-cheap shared-hosting (on one end) and tradition of dominance on some of the most trafficked websites (on the other)—has been slow to move. But as the technology continues to disrupt, modern web engineers will be expected to use their programming skills to not only build, but also provision and maintain fast, scalable
websites.
The efficiencies of a web-based language and experience in scalable website architecture offer a unique opportunity for programmers to transfer their skills when wearing a sysop hat. Not to mention some of the best libraries for programming them are written in PHP! When going from a small pet project to a go-live site, maybe we can learn to live without our linemen.
Breaking the Kubernetes Kill Chain: Host Path Mount
Living Without Linemen—PHP Community Conference 2011
1. Living without
your Linemen
PHP Community Conference: Closing Keynote
Nashville, TN: April 22, 2011, 5pm
Friday, April 22, 2011
2. Who am I?
Me (and others) on a deck of
cards
Friday, April 22, 2011
3. PHP
Terrorist
Have a nice Chay!
Friday, April 22, 2011
4. “…when I created the
Web”
— (not) A l Gore
Friday, April 22, 2011
5. Chayism
http://phpdoc.info/chayism
/
One ounce of Terry
Chay contains seven
pounds of awesome
최 태 리
Friday, April 22, 2011
6. Chayism
http://phpdoc.info/chayism
/
최 태 리
Friday, April 22, 2011
7. Terry Chay does not
walk, or run, or Chayism
drive, or take an
http://phpdoc.info/chayism
airplane to a place. /
He simply uses a
Keynote transition.
최 태 리
Friday, April 22, 2011
8. PHP in 2011
R asmus
http://talks.php.net/show/p
hpcon2011/
Friday, April 22, 2011
9. 1500 Lines Of
Code
PHP Advent 2009
http://phpadvent.org/2009/
1500-lines-of-
code-by-terry-chay
Friday, April 22, 2011
27. “coding these web apps
themselves involves a lot
of swearing—a lot of
blood, sweat and swear.”
—Me
http://shiflett.org/blog/2006
/
aug/blood-sweat-and-swea
r-
terry-chay-on-pro-php-podc
ast
Friday, April 22, 2011
28. “Fuck You.”
nemeier Hansson
—D avid Hei
David 3:16
Friday, April 22, 2011
29. “I can’t run Rails in
mod_ruby on Apache on
a shared host”
o has ever tried
—A nyone wh
http://blog.dreamhost.com
/
2008/01/07/how-ruby-on-r
ails-
could-be-much-better/
Friday, April 22, 2011
30. “Fuck You.”
nemeier Hansson
—D avid Hei
David 3:16
Friday, April 22, 2011
31. “Read/Writes as websites
grow don’t scale evenly with
Moore’s Law, so a bigger
machine isn’t solving my
database problems.”
e who h as built
—Anyon
http://terrychay.com/artic
th real
le/
bsite wi
sharting-on-sharding.shtm
l
a we growth
(hockey stick)
Friday, April 22, 2011
32. “Fuck You.”
nemeier Hansson
—D avid Hei
David 3:16
Friday, April 22, 2011
33. “Fuck Comcast.”
—Me
Every time the intertubes
get tied
Friday, April 22, 2011
34. The Internet doesn't
go down, Terry Chayism
Chay's laptop just
goes into sleep mode http://phpdoc.info/chayism
/
최 태 리
Friday, April 22, 2011
35. “Fucking AT&T.”
—Me
Every time I use my cell ph
one in San Francisco
Friday, April 22, 2011
36. “Fuck Steve Jobs.
*blargh!*”
—Me
Gray Screen of Death Event
Friday, April 22, 2011
37. The real reason
there's no spyware Chayism
for MacOS is that
it's afraid of Terry http://phpdoc.info/chayism
/
Chay
최 태 리
Friday, April 22, 2011
38. “$haystack, $needle or
$needle, $haystack? I
fucking hate PHP!”
—Me
In UR Website, c0ding UR sh
it
Friday, April 22, 2011
39. Terry Chay beat the
Internet... with only Chayism
one quarter http://phpdoc.info/chayism
/
최 태 리
Friday, April 22, 2011
40. Rock and Hard Place Scylla and Charybdis
Friday, April 22, 2011
41. “80% of the effects come
from 20% of the causes”
— Pareto
http://en.wikipedia.org/wik
i/
Pareto_principle
Friday, April 22, 2011
42. “Ruby is really good at what it
does. The problem is that for
what Ruby [on Rails] does
really well, I can download
Matt Mullenweg’s WordPress”
—Me
http://terrychay.com/artic
le/is-ruby-
the-dog-and-php-the-dogfoo
d.shtml
Friday, April 22, 2011
43. Phorum
Bria n Moon
http://joind.in/talk/view/3
343
Friday, April 22, 2011
45. “[Disruptive Technologies] offered
less of what customers in
established markets wanted and so
could rarely be initially employed
there. They offered a different
package of attributes valued only in
emerging markets remote from, and
unimportant to, the mainstream.”
ton Chris tianson
—Clay Innovator’s Dilemma
Friday, April 22, 2011
47. “The S3 data storage that
Amazon and SmugMug
showed is impressive,
but the EC2 cloud stuff
was the most interesting,
because it is disruptive.”
sting Thing @
ost Intere
—The M ZendCon Fall 2006
Friday, April 22, 2011
48. “Rails: It succeeds because it sucks.”
imating Rails
—Me, Misest
Capistrano,
CruisceControl.rb, GitHub,
a
gajillion admin consoles fo
r
AWS
Friday, April 22, 2011
51. “A project done in Java will
cost 5 times as much, take
twice as long, and be harder
to maintain than a project
done in a scripting language
such as PHP or Perl.”
ip Gree nspun
—Phill http://blogs.law.harvard.edu
/
philg/2003/09/20/
Friday, April 22, 2011
52. “That a Java servlet performs better
than a PHP script, under optimal
conditions [has] nothing to do with
scalability. The point is can your
application continue to deliver
consistent performance as volume
increases. PHP delegates all the ‘hard
stuff’ to other systems.”
H arry F uecks
—
http://blogs.sitepoint.com/t
he-
j2ee-guy-still-doesnt-get-php
/
Friday, April 22, 2011
53. “PHP is not about purity in CS
principles or architecture; it is about
solving the ugly web problem with an
admittedly ugly, but extremely
functional and convenient solution. If
you are looking for purity, you are in
the wrong boat. Get out now before you
get hit by a wet cat!”
Ras mus L erdorf
—
http://news.php.net/articl
e.php?
group=php.internals&articl
e=2715
Friday, April 22, 2011
54. “PHP: It succeeds because it sucks.”
—Me
Simplicity + Scalability +
Straightforward = Suck =
Success!
Friday, April 22, 2011
55. Rock and Hard
Place
Your drinking habits make me
very, very worried for the
future of PHP
Friday, April 22, 2011
56. From Earth to Jupiter
With NASA
Marce l Esser
http://joind.in/talk/view/3
350
Friday, April 22, 2011
57. XHProf and
WonderProxy
l Reinh eimer
Pau
http://joind.in/talk/view/3
346
Friday, April 22, 2011
58. Terry Chay doesn't
profile his code, he Chayism
just commands it to
run better. http://phpdoc.info/chayism
/
최 태 리
Friday, April 22, 2011
59. Terry Chay's
semicolons make Chayism
that line of code
74% faster http://phpdoc.info/chayism
/
최 태 리
Friday, April 22, 2011
60. The Good, The Bad & The
Ugly: What Happened to
Unicode in PHP 6
ndrei Zm ievski
A
http://joind.in/talk/view/3
349
Friday, April 22, 2011
70. “The datacenter is the
new box.”
son Ho ffman,
— Ja
Joyent
http://pro.gigaom.com/
2010/11/the-data-center-is
-
the-new-box-are-you-ready
/
Friday, April 22, 2011
71. Web Services
Lo rna M itchell
—
http://joind.in/talk/view/3
338
Friday, April 22, 2011
73. Traditional Cloud
Predict and purchase Elastic
Shared->Colocation Economies of Scale
Pay for server Pay as you go
Capitalize No up-front investment
Fixed Cost Variable
CAPEX OPEX
discreet allocations fine-grained allocation
disassociated costs associated costs
staging, RAAD experimentation is cheap9
Friday, April 22, 2011
74. Facebook Open
Compute
Project
http://www.facebook.com/n
otes/facebook-
engineering/building-efficie
nt-data-
centers-with-the-open-com
pute-project/
Friday, April 22, 2011
75. Open-source Data
Center Design
Commodity Hardware
Power and cost efficiencies
Friday, April 22, 2011
76. “It’s usually in a
business’ best interests
to commoditize its
complements.”
M arco A rment
—
http://www.marco.org/201
1/04/09/
facebooks-open-compute-p
roject
Friday, April 22, 2011
77. “Whenever iPhone
succeeds, Google
succeeds.”
aniel A legre,
—D -Pacific
f Goog le Asia
Head o
http://www.adnews.com.au/
news/
google-we-want-iphone-to-gr
ow
Friday, April 22, 2011
78. Infrastructure as
a Commodity
http://www.readwriteweb.c
om/cloud/2011/04/
what-facebooks-opencompu
te-mea.php
Friday, April 22, 2011
85. AWS Free
http://aws.amazon.com/fre
e/
• 750 hours of Amazon EC2 Linux Micro Instance usage
(613 MB of memory and 32-bit and 64-bit platform
support) – enough hours to run continuously each
month*
• 750 hours of an Elastic Load Balancer plus 15 GB data
processing*
• 10 GB of Amazon Elastic Block Storage, plus 1 million
I/Os, 1 GB of snapshot storage, 10,000 snapshot Get
Requests and 1,000 snapshot Put Requests*
Friday, April 22, 2011
86. Three Tiers
EC2, S3, Database (RDS,
Base
SimpleDB…)
CloudFront, Route 53,
Services SQS, SMS, FPS,
Mechanical Turk
Managment Console, Elastic
Management Beanstalk, Toolkit for
Eclipse,Virtual Private Cloud
Friday, April 22, 2011
87. “Basically [AWS] is
programmable
infrastructure”
f Barr, Senior
—Jef
Ev angelis t AWS
http://www.amazon.com/g
p/product/
0980576830?tag=terrych
ay-20
Friday, April 22, 2011
88. “Why Amazon's cloud
Titanic went down.”
—CNN
http://money.cnn.com/201
1/04/22/
technology/amazon_ec2_c
loud_outage/?
Friday, April 22, 2011
99. yism
Security is low
priority for Terry
Chay because he Cha
knows the internet's http://phpdoc.info/chayism
/
got his back[ups]
최 태 리
Friday, April 22, 2011
100. Gimme Bar
Sean Coates
http://joind.in/talk/view/3
348
Friday, April 22, 2011
101. XHProf and
WonderProxy
Pa ul Reinheimer
http://joind.in/talk/view/3
346
Friday, April 22, 2011
102. PHP was never
about PHP
Without PHP, LAMP would just be LAM(e).
Friday, April 22, 2011
103. Frontend Caching: The
New Frontier
Þorbjö rnsson
He lgi Þor mar
http://joind.in/talk/view/3
340
Friday, April 22, 2011
104. Battle
Wounds
http://terrychay.com/artic
le/
cuts-and-scars.shtml
Friday, April 22, 2011
105. Chayism
http://phpdoc.info/chayism
/
When Terry Chay
throws $10k into
the air, he doesn't
bother picking it up
최 태 리
Friday, April 22, 2011
106. Haiping
is smarter than you.
Friday, April 22, 2011
107. Contact Me
http://
terrychay.com/
“I promise to blog
@tychay more.”
tychay@php.net
Terry Chay doesn't
get stage fright.
http://joind.in/talk/view/3351 Stages get
frightened of Terry
Chay.
Friday, April 22, 2011
108. careermania.com
estimates that your
salary expectations Chayism
can increase by
$5000 each time http://phpdoc.info/chayism
/
Terry Chay mentions
your name in a talk
최 태 리
Friday, April 22, 2011