cvs: presentations / lt2004-lamp.xml /slides/intro app_arch.xml large.xml people_arch.xml php_app_arch.png scale1.xml scale2.xml scale3.xml
scale4.xml scale5.xml stack_arch.xml whyphp.xml

From: Date: Thu, 24 Jun 2004 13:07:07 +0000
Subject: cvs: presentations / lt2004-lamp.xml /slides/intro app_arch.xml large.xml people_arch.xml php_app_arch.png scale1.xml scale2.xml scale3.xml
scale4.xml scale5.xml stack_arch.xml whyphp.xml
Groups: php.pres 
Request: Send a blank email to pres+get-999@lists.php.net to get a copy of this message
rasmus Thu Jun 24 09:07:07 2004 EDT Added files: /presentations lt2004-lamp.xml /presentations/slides/intro large.xml people_arch.xml scale1.xml scale2.xml scale3.xml scale4.xml scale5.xml stack_arch.xml whyphp.xml Modified files: /presentations/slides/intro app_arch.xml php_app_arch.png Log: Linuxtag LAMP Area talk http://cvs.php.net/diff.php/presentations/slides/intro/app_arch.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/intro/app_arch.xml diff -u presentations/slides/intro/app_arch.xml:1.2 presentations/slides/intro/app_arch.xml:1.3 --- presentations/slides/intro/app_arch.xml:1.2 Tue Jan 20 13:37:15 2004 +++ presentations/slides/intro/app_arch.xml Thu Jun 24 09:07:07 2004 @@ -2,7 +2,7 @@ <blurb> A suggested architecture for a PHP application. The template layer should have as little business logic as possible. As you go down you have less presentation -and more business logic. +and more business logic. </blurb> <image filename="php_app_arch.png" align="center"/> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/php_app_arch.png?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php_app_arch.png http://cvs.php.net/co.php/presentations/lt2004-lamp.xml?r=1.1&p=1 Index: presentations/lt2004-lamp.xml +++ presentations/lt2004-lamp.xml <presentation template="php2" titlecolor="#1111aa" navbarbackground="url(images/trans-ffffff.png)" logo1="images/php-med-trans-light.gif" titlesize="2em" navbarheight="4.1em" > <!-- Deploying PHP on a large scale touches on a lot of interesting issues. There is the ever-present performance dragon that needs to be tamed but there are also more subtle issues such as supporting a huge internal engineering team with tools and training. In this talk Rasmus will go through the current state of PHP at the largest web destination in the world and explain how these issues have been addressed over the past 2 years. --> <topic>PHP</topic> <title>Large Scale PHP</title> <event>Linuxtag</event> <location>Karlsruhe</location> <date>Jun.24, 2004</date> <speaker>Rasmus Lerdorf</speaker> <email>rasmus@php.net</email> <url>Live presentation at http://talks.php.net</url> <chapter title="Introduction"> <slide>slides/titlepage.xml</slide> <slide>slides/intro/large.xml</slide> <slide>slides/intro/whyphp.xml</slide> <slide>slides/intro/scale1.xml</slide> <slide>slides/intro/scale2.xml</slide> <slide>slides/intro/scale3.xml</slide> <slide>slides/intro/scale4.xml</slide> <slide>slides/intro/scale5.xml</slide> </chapter> <chapter title="Architecture"> <slide>slides/intro/stack_arch.xml</slide> <slide>slides/intro/people_arch.xml</slide> <slide>slides/intro/app_arch.xml</slide> </chapter> </presentation> http://cvs.php.net/co.php/presentations/slides/intro/large.xml?r=1.1&p=1 Index: presentations/slides/intro/large.xml +++ presentations/slides/intro/large.xml <slide title="What is Large?"> <list> <bullet>75 properties</bullet> <bullet>25 international portals</bullet> <bullet>15 Languages</bullet> <bullet>Hundreds of millions of registered users</bullet> <bullet>Literally billions of page views per day</bullet> <bullet>Hundreds of engineers spread around the world</bullet> </list> <blurb>Merger of 24 Web Companies</blurb> <image filename="24.png" align="center" /> </slide> http://cvs.php.net/co.php/presentations/slides/intro/people_arch.xml?r=1.1&p=1 Index: presentations/slides/intro/people_arch.xml +++ presentations/slides/intro/people_arch.xml <slide title="People Architecture"> <blurb> </blurb> <image filename="people_arch.png" align="center"/> </slide> http://cvs.php.net/co.php/presentations/slides/intro/scale1.xml?r=1.1&p=1 Index: presentations/slides/intro/scale1.xml +++ presentations/slides/intro/scale1.xml <slide title="Scale"> <blurb> </blurb> <list title="Share-nothing Architecture"> <bullet> Like HTTP, each request is distinct</bullet> <bullet> Shared data is pushed down to the data-store layer</bullet> </list> <list title="This gives us"> <bullet> Ability to load balance</bullet> <bullet> Invisible failover from one datacenter to another</bullet> <bullet> Better modularization of applications</bullet> <bullet> Easier to develop and debug</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/intro/scale2.xml?r=1.1&p=1 Index: presentations/slides/intro/scale2.xml +++ presentations/slides/intro/scale2.xml <slide title="Scale"> <blurb> </blurb> <list title="No Runtime Templating!"> <bullet> PHP is a templating system, we don't need another one</bullet> <bullet> Ok, sometimes you might, but don't do it at runtime</bullet> <bullet> Hire Andrei</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/intro/scale3.xml?r=1.1&p=1 Index: presentations/slides/intro/scale3.xml +++ presentations/slides/intro/scale3.xml <slide title="Scale"> <blurb> </blurb> <list title="System Calls - PHP Code Changes"> <bullet> No more than 1 stat() per PHP file per request</bullet> <bullet> Get rid of realpath() in PHP's expand_filepath code</bullet> <bullet> Don't stat if Apache has already stat'ed the file</bullet> <bullet> Get rid of excessive stats in the streams code</bullet> </list> <list title="System Calls - Scripting Changes"> <bullet> Remove ./ from include_path</bullet> <bullet> Use just a single base dir in include_path</bullet> <bullet> No open_basedir or safe_mode</bullet> </list> <list title="This breaks a few things"> <bullet> include_once can be tricked with ../ or symlinks now</bullet> <bullet> Same goes for open_basedir checks</bullet> <bullet> All includes are relative to ./ or base include_path</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/intro/scale4.xml?r=1.1&p=1 Index: presentations/slides/intro/scale4.xml +++ presentations/slides/intro/scale4.xml <slide title="Scale"> <blurb> </blurb> <list title="Watch those compiler flags"> <bullet> Use non-PIC Apache DSO (gcc -prefer-non-pic)</bullet> <bullet> Use platform-specific gcc flags</bullet> <bullet> ./configure --disable-all</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/intro/scale5.xml?r=1.1&p=1 Index: presentations/slides/intro/scale5.xml +++ presentations/slides/intro/scale5.xml <slide title="Scale"> <blurb> </blurb> <list title="Other Changes"> <bullet> Plenty of custom extensions and limit RINIT</bullet> <bullet> Filter all user data by default</bullet> <bullet> No $_COOKIE for you</bullet> <bullet> Careful use of the session extension</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/intro/stack_arch.xml?r=1.1&p=1 Index: presentations/slides/intro/stack_arch.xml +++ presentations/slides/intro/stack_arch.xml <slide title="Software Stack"> <blurb> </blurb> <list fontsize="6em"> <bullet>FreeBSD 4.x</bullet> <bullet>Apache 1.3.x</bullet> <bullet>Plenty of homegrown C/C++ code</bullet> <bullet>MySQL/Oracle</bullet> <bullet>PHP/Perl</bullet> <bullet>APC Opcode Cache</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/intro/whyphp.xml?r=1.1&p=1 Index: presentations/slides/intro/whyphp.xml +++ presentations/slides/intro/whyphp.xml <slide title="Why PHP?"> <blurb> </blurb> <list fontsize="4em"> <bullet> Easy to learn and manage - well-documented</bullet> <bullet> Worked well on existing FreeBSD/Apache platform</bullet> <bullet> Easy to integrate existing C/C++ code</bullet> <bullet> Inherent HTML embedding</bullet> <bullet> Outperformed technologies it replaced</bullet> </list> </slide>

« previous php.pres (#999) next »