0
Living without                         your Linemen                         PHP Community Conference: Closing Keynote     ...
Who am I?                         Me (and others) on a deck of                                    cardsFriday, April 22, 2...
PHP                         Terrorist                         Have a nice Chay!Friday, April 22, 2011
“…when I created the                               Web”                                   — (not) A l GoreFriday, April 22...
Chayism                         http://phpdoc.info/chayism                                                   /            ...
Chayism                           http://phpdoc.info/chayism                                                        /     ...
Terry Chay does not                      walk, or run, or     Chayism                     drive, or take an               ...
PHP in 2011                               R asmus                                http://talks.php.net/show/p              ...
1500 Lines Of                            Code                           PHP Advent 2009                                   ...
John Henry of                              C++Friday, April 22, 2011
1500 Lines of                            Code/Day                             (max)                                 “Excep...
Outliers                                 Malcolm Gladwell                             10,000 Hours of Diligent            ...
Talent is                               Overrated                                    Geoff Colvin                         ...
1500 lines of code                         Half a Million Line codebase = Peak Day, Every Day, 1                         Y...
Terry Chay doesnt                          write code, he just    Chayism                            thinks it, and       ...
Why: Three StoriesFriday, April 22, 2011
1. Ops are your                          offensive line                          http://terrychay.com/artic               ...
Quarterback                           Site ArchitectFriday, April 22, 2011
Running Back                            ProgrammerFriday, April 22, 2011
Wide Receiver                            ProgrammerFriday, April 22, 2011
Offensive Line                           System OperationsFriday, April 22, 2011
Keep Your                         Line Happy                            Last Friday in July                         http:/...
2. Story of RailsFriday, April 22, 2011
“The Hottest Hacker on                               the Earth.”                                      — WIRED             ...
“Fuck You.”                                        nemeier Hansson                            —D avid Hei                 ...
“fuckity fuck fucking                              fuck fuck.”                               —EXPLICIT TAG                ...
“coding these web apps                         themselves involves a lot                            of swearing—a lot of  ...
“Fuck You.”                                        nemeier Hansson                            —D avid Hei                 ...
“I can’t run Rails in                         mod_ruby on Apache on                             a shared host”            ...
“Fuck You.”                                        nemeier Hansson                            —D avid Hei                 ...
“Read/Writes as websites                         grow don’t scale evenly with                           Moore’s Law, so a ...
“Fuck You.”                                        nemeier Hansson                            —D avid Hei                 ...
“Fuck Comcast.”                                       —Me                                   Every time the intertubes     ...
The Internet doesnt                           go down, Terry       Chayism                          Chays laptop just     ...
“Fucking AT&T.”                                                 —Me                               Every time I use my cell...
“Fuck Steve Jobs.                            *blargh!*”                                  —Me                              ...
The real reason                         theres no spyware     Chayism                         for MacOS is that           ...
“$haystack, $needle or                          $needle, $haystack? I                           fucking hate PHP!”        ...
Terry Chay beat the                         Internet... with only   Chayism                             one quarter       ...
Rock and Hard Place   Scylla and CharybdisFriday, April 22, 2011
“80% of the effects come                         from 20% of the causes”                                        — Pareto  ...
“Ruby is really good at what it                          does. The problem is that for                           what Ruby...
Phorum                            Bria n Moon                                  http://joind.in/talk/view/3                ...
Innovator’s                              Dilemma                                 Malcolm Gladwell                         ...
“[Disruptive Technologies] offered                               less of what customers in                         establi...
“[Disruptive Technologies] suck.”                                     —(s horter)                                         ...
“The S3 data storage that                           Amazon and SmugMug                           showed is impressive,    ...
“Rails: It succeeds because it sucks.”                                             imating Rails                          ...
3. Story of PHPFriday, April 22, 2011
PHP’s S3                         • Simplicity                         • Scalability                         • Straighforwa...
“A project done in Java will                          cost 5 times as much, take                         twice as long, an...
“That a Java servlet performs better                            than a PHP script, under optimal                          ...
“PHP is not about purity in CS                          principles or architecture; it is about                          s...
“PHP: It succeeds because it sucks.”                                                —Me                                   ...
Rock and Hard                             Place                         Your drinking habits make me                      ...
From Earth to Jupiter                             With NASA                                    Marce l Esser              ...
XHProf and                         WonderProxy                                 l Reinh eimer                             P...
Terry Chay doesnt                          profile his code, he   Chayism                         just commands it to     ...
Terry Chays                         semicolons make     Chayism                         that line of code                 ...
The Good, The Bad & The                         Ugly: What Happened to                            Unicode in PHP 6        ...
HipHopFriday, April 22, 2011
Friday, April 22, 2011
Friday, April 22, 2011
What: Three                         InfrastructuresFriday, April 22, 2011
1. Your Infrastructure                            on a Shared HostFriday, April 22, 2011
Lesson: Do More with LessFriday, April 22, 2011
Is It Handmade Code If                          You Use Power Tools?                                     —LB D enker      ...
The Story of Spaz                                  —Ed F inkler                                      http://joind.in/talk/...
2. Infrastructure as a                                ComputerFriday, April 22, 2011
“The datacenter is the                               new box.”                                      son Ho ffman,         ...
Web Services                                Lo rna M itchell                               —                              ...
3. Infrastructure as a                                 ServiceFriday, April 22, 2011
Traditional                  Cloud                         Predict and purchase            Elastic                        ...
Facebook Open                            Compute                             Project                         http://www.fa...
Open-source Data                          Center Design                               Commodity Hardware                  ...
“It’s usually in a                         business’ best interests                           to commoditize its          ...
“Whenever iPhone                          succeeds, Google                             succeeds.”                         ...
Infrastructure as                           a Commodity                             http://www.readwriteweb.c             ...
How: Three Levels of                            ApplicationFriday, April 22, 2011
1. Infrastructure as a                                 ServiceFriday, April 22, 2011
SlicehostFriday, April 22, 2011
Start your own shit                         • database, Memcache, load balancing                         • svn/git/GitHub ...
Gentoo is for RicersFriday, April 22, 2011
Amazon Web ServicesFriday, April 22, 2011
AWS Free                                                         http://aws.amazon.com/fre                                ...
Three Tiers                                      EC2, S3, Database (RDS,                            Base                  ...
“Basically [AWS] is                           programmable                           infrastructure”                      ...
“Why Amazons cloud                          Titanic went down.”                                   —CNN                    ...
2. Platform as a ServiceFriday, April 22, 2011
dotCloud                         http://www.dotcloud.com/Friday, April 22, 2011
Orchestra                          http://orchestra.io/Friday, April 22, 2011
Mastering Zend                         Framework 2 Patterns                                        ier OPh inney          ...
Lithium                             Joël Perras                                   http://joind.in/talk/view/3             ...
ZippyKid                          http://zippykid.com/Friday, April 22, 2011
Start Here > Finish                            SomewhereFriday, April 22, 2011
Programmer as                           OperationsFriday, April 22, 2011
The Original Hypertext                             Preprocessor                                 Dr ew Mc Lellan           ...
Start(up) yourselfFriday, April 22, 2011
yism                           Security is low                          priority for Terry                           Chay ...
Gimme Bar                            Sean Coates                                   http://joind.in/talk/view/3            ...
XHProf and                         WonderProxy                            Pa ul Reinheimer                                ...
PHP was never                           about PHP                         Without PHP, LAMP would just be LAM(e).Friday, A...
Frontend Caching: The                             New Frontier                                            Þorbjö rnsson   ...
Battle                            Wounds                         http://terrychay.com/artic                               ...
Chayism                              http://phpdoc.info/chayism                                                        /  ...
Haiping                         is smarter than you.Friday, April 22, 2011
Contact Me                                                  http://                                             terrychay....
careermania.com                         estimates that your                         salary expectations    Chayism        ...
Upcoming SlideShare
Loading in...5
×

Living Without Linemen—PHP Community Conference 2011

10,500

Published on

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.

Published in: Technology
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total Views
10,500
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
15
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Living Without Linemen—PHP Community Conference 2011"

  1. 1. Living without your Linemen PHP Community Conference: Closing Keynote Nashville, TN: April 22, 2011, 5pmFriday, April 22, 2011
  2. 2. Who am I? Me (and others) on a deck of cardsFriday, April 22, 2011
  3. 3. PHP Terrorist Have a nice Chay!Friday, April 22, 2011
  4. 4. “…when I created the Web” — (not) A l GoreFriday, April 22, 2011
  5. 5. Chayism http://phpdoc.info/chayism / One ounce of Terry Chay contains seven pounds of awesome 최 태 리Friday, April 22, 2011
  6. 6. Chayism http://phpdoc.info/chayism / 최 태 리Friday, April 22, 2011
  7. 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. 8. PHP in 2011 R asmus http://talks.php.net/show/p hpcon2011/Friday, April 22, 2011
  9. 9. 1500 Lines Of Code PHP Advent 2009 http://phpadvent.org/2009/ 1500-lines-of- code-by-terry-chayFriday, April 22, 2011
  10. 10. John Henry of C++Friday, April 22, 2011
  11. 11. 1500 Lines of Code/Day (max) “Except Java” Java: It only takes three years to put in a hard days work!Friday, April 22, 2011
  12. 12. Outliers Malcolm Gladwell 10,000 Hours of Diligent Practice http://www.amazon.com/g p/product/ 0316017922?tag=terrychay -20Friday, April 22, 2011
  13. 13. Talent is Overrated Geoff Colvin 10,000 Hours = 20/week week * every week * 10 years! http://www.amazon.com/g p/product/ 0316017922?tag=terrych ay-20Friday, April 22, 2011
  14. 14. 1500 lines of code Half a Million Line codebase = Peak Day, Every Day, 1 YearFriday, April 22, 2011
  15. 15. Terry Chay doesnt write code, he just Chayism thinks it, and minions do it for him http://phpdoc.info/chayism / 최 태 리Friday, April 22, 2011
  16. 16. Why: Three StoriesFriday, April 22, 2011
  17. 17. 1. Ops are your offensive line http://terrychay.com/artic le/special- sysadmin-appreciation-day. shtmlFriday, April 22, 2011
  18. 18. Quarterback Site ArchitectFriday, April 22, 2011
  19. 19. Running Back ProgrammerFriday, April 22, 2011
  20. 20. Wide Receiver ProgrammerFriday, April 22, 2011
  21. 21. Offensive Line System OperationsFriday, April 22, 2011
  22. 22. Keep Your Line Happy Last Friday in July http://www.sysadminday.co m/Friday, April 22, 2011
  23. 23. 2. Story of RailsFriday, April 22, 2011
  24. 24. “The Hottest Hacker on the Earth.” — WIRED Wired 14.04 page 3Friday, April 22, 2011
  25. 25. “Fuck You.” nemeier Hansson —D avid Hei David 3:16Friday, April 22, 2011
  26. 26. “fuckity fuck fucking fuck fuck.” —EXPLICIT TAG #TCFC +=5Friday, April 22, 2011
  27. 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 astFriday, April 22, 2011
  28. 28. “Fuck You.” nemeier Hansson —D avid Hei David 3:16Friday, April 22, 2011
  29. 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. 30. “Fuck You.” nemeier Hansson —D avid Hei David 3:16Friday, April 22, 2011
  31. 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. 32. “Fuck You.” nemeier Hansson —D avid Hei David 3:16Friday, April 22, 2011
  33. 33. “Fuck Comcast.” —Me Every time the intertubes get tiedFriday, April 22, 2011
  34. 34. The Internet doesnt go down, Terry Chayism Chays laptop just goes into sleep mode http://phpdoc.info/chayism / 최 태 리Friday, April 22, 2011
  35. 35. “Fucking AT&T.” —Me Every time I use my cell ph one in San FranciscoFriday, April 22, 2011
  36. 36. “Fuck Steve Jobs. *blargh!*” —Me Gray Screen of Death EventFriday, April 22, 2011
  37. 37. The real reason theres no spyware Chayism for MacOS is that its afraid of Terry http://phpdoc.info/chayism / Chay 최 태 리Friday, April 22, 2011
  38. 38. “$haystack, $needle or $needle, $haystack? I fucking hate PHP!” —Me In UR Website, c0ding UR sh itFriday, April 22, 2011
  39. 39. Terry Chay beat the Internet... with only Chayism one quarter http://phpdoc.info/chayism / 최 태 리Friday, April 22, 2011
  40. 40. Rock and Hard Place Scylla and CharybdisFriday, April 22, 2011
  41. 41. “80% of the effects come from 20% of the causes” — Pareto http://en.wikipedia.org/wik i/ Pareto_principleFriday, April 22, 2011
  42. 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.shtmlFriday, April 22, 2011
  43. 43. Phorum Bria n Moon http://joind.in/talk/view/3 343Friday, April 22, 2011
  44. 44. Innovator’s Dilemma Malcolm Gladwell Disruptive Technologies http://www.amazon.com/g p/product/ 0060521996?tag=terrych ay-20Friday, April 22, 2011
  45. 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 DilemmaFriday, April 22, 2011
  46. 46. “[Disruptive Technologies] suck.” —(s horter) Christi anson C layton Innovator’s DilemmaFriday, April 22, 2011
  47. 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 2006Friday, April 22, 2011
  48. 48. “Rails: It succeeds because it sucks.” imating Rails —Me, Misest Capistrano, CruisceControl.rb, GitHub, a gajillion admin consoles fo r AWSFriday, April 22, 2011
  49. 49. 3. Story of PHPFriday, April 22, 2011
  50. 50. PHP’s S3 • Simplicity • Scalability • StraighforwardnessFriday, April 22, 2011
  51. 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. 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. 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=2715Friday, April 22, 2011
  54. 54. “PHP: It succeeds because it sucks.” —Me Simplicity + Scalability + Straightforward = Suck = Success!Friday, April 22, 2011
  55. 55. Rock and Hard Place Your drinking habits make me very, very worried for the future of PHPFriday, April 22, 2011
  56. 56. From Earth to Jupiter With NASA Marce l Esser http://joind.in/talk/view/3 350Friday, April 22, 2011
  57. 57. XHProf and WonderProxy l Reinh eimer Pau http://joind.in/talk/view/3 346Friday, April 22, 2011
  58. 58. Terry Chay doesnt profile his code, he Chayism just commands it to run better. http://phpdoc.info/chayism / 최 태 리Friday, April 22, 2011
  59. 59. Terry Chays semicolons make Chayism that line of code 74% faster http://phpdoc.info/chayism / 최 태 리Friday, April 22, 2011
  60. 60. The Good, The Bad & The Ugly: What Happened to Unicode in PHP 6 ndrei Zm ievski A http://joind.in/talk/view/3 349Friday, April 22, 2011
  61. 61. HipHopFriday, April 22, 2011
  62. 62. Friday, April 22, 2011
  63. 63. Friday, April 22, 2011
  64. 64. What: Three InfrastructuresFriday, April 22, 2011
  65. 65. 1. Your Infrastructure on a Shared HostFriday, April 22, 2011
  66. 66. Lesson: Do More with LessFriday, April 22, 2011
  67. 67. Is It Handmade Code If You Use Power Tools? —LB D enker http://joind.in/talk/view/3 347Friday, April 22, 2011
  68. 68. The Story of Spaz —Ed F inkler http://joind.in/talk/view/3 345Friday, April 22, 2011
  69. 69. 2. Infrastructure as a ComputerFriday, April 22, 2011
  70. 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. 71. Web Services Lo rna M itchell — http://joind.in/talk/view/3 338Friday, April 22, 2011
  72. 72. 3. Infrastructure as a ServiceFriday, April 22, 2011
  73. 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 cheap9Friday, April 22, 2011
  74. 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. 75. Open-source Data Center Design Commodity Hardware Power and cost efficienciesFriday, April 22, 2011
  76. 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 rojectFriday, April 22, 2011
  77. 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 owFriday, April 22, 2011
  78. 78. Infrastructure as a Commodity http://www.readwriteweb.c om/cloud/2011/04/ what-facebooks-opencompu te-mea.phpFriday, April 22, 2011
  79. 79. How: Three Levels of ApplicationFriday, April 22, 2011
  80. 80. 1. Infrastructure as a ServiceFriday, April 22, 2011
  81. 81. SlicehostFriday, April 22, 2011
  82. 82. Start your own shit • database, Memcache, load balancing • svn/git/GitHub • trac, stats, (and other internal tools) • deployment solution like Capistrano (Ruby)Friday, April 22, 2011
  83. 83. Gentoo is for RicersFriday, April 22, 2011
  84. 84. Amazon Web ServicesFriday, April 22, 2011
  85. 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. 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 CloudFriday, April 22, 2011
  87. 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-20Friday, April 22, 2011
  88. 88. “Why Amazons cloud Titanic went down.” —CNN http://money.cnn.com/201 1/04/22/ technology/amazon_ec2_c loud_outage/?Friday, April 22, 2011
  89. 89. 2. Platform as a ServiceFriday, April 22, 2011
  90. 90. dotCloud http://www.dotcloud.com/Friday, April 22, 2011
  91. 91. Orchestra http://orchestra.io/Friday, April 22, 2011
  92. 92. Mastering Zend Framework 2 Patterns ier OPh inney Matthew We http://joind.in/talk/view/3 339Friday, April 22, 2011
  93. 93. Lithium Joël Perras http://joind.in/talk/view/3 341Friday, April 22, 2011
  94. 94. ZippyKid http://zippykid.com/Friday, April 22, 2011
  95. 95. Start Here > Finish SomewhereFriday, April 22, 2011
  96. 96. Programmer as OperationsFriday, April 22, 2011
  97. 97. The Original Hypertext Preprocessor Dr ew Mc Lellan http://joind.in/talk/view/3 344Friday, April 22, 2011
  98. 98. Start(up) yourselfFriday, April 22, 2011
  99. 99. yism Security is low priority for Terry Chay because he Cha knows the internets http://phpdoc.info/chayism / got his back[ups] 최 태 리Friday, April 22, 2011
  100. 100. Gimme Bar Sean Coates http://joind.in/talk/view/3 348Friday, April 22, 2011
  101. 101. XHProf and WonderProxy Pa ul Reinheimer http://joind.in/talk/view/3 346Friday, April 22, 2011
  102. 102. PHP was never about PHP Without PHP, LAMP would just be LAM(e).Friday, April 22, 2011
  103. 103. Frontend Caching: The New Frontier Þorbjö rnsson He lgi Þor mar http://joind.in/talk/view/3 340Friday, April 22, 2011
  104. 104. Battle Wounds http://terrychay.com/artic le/ cuts-and-scars.shtmlFriday, April 22, 2011
  105. 105. Chayism http://phpdoc.info/chayism / When Terry Chay throws $10k into the air, he doesnt bother picking it up 최 태 리Friday, April 22, 2011
  106. 106. Haiping is smarter than you.Friday, April 22, 2011
  107. 107. Contact Me http:// terrychay.com/ “I promise to blog @tychay more.” tychay@php.net Terry Chay doesnt get stage fright. http://joind.in/talk/view/3351 Stages get frightened of Terry Chay.Friday, April 22, 2011
  108. 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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×