I think this may have been mentioned in the presentation, but one way to improve performance is to use an opcode cache like APC (with the stat check turned off) so that the included files don't have to be recompiled every single time. The compilation of and the *stat() calls for the included files are what takes the longest time.
Konstantin On Wed, Apr 22, 2009 at 5:18 PM, Brian D. <br...@realm3.com> wrote: > I know I'm late on this, but I finally got around to watching it and > found it pretty fascinating. > > Agarwal mentions how including PHP files has a linear effect on > execution time. He also mentioned that PHP tends to become difficult > to manage when a project becomes really large. One of the ways that > developers tend to organize things would be distributing logic into > different files (most major frameworks are a good example of this) and > when you do that you start to take a performance hit. I wonder how > developers usually overcome that conundrum. > > Interesting video, though, thanks for sharing. > > - Brian > > realm3 web applications [realm3.com] > Information architecture, application development. > phone: (917) 512-3594 > fax: (440) 744-3559 > > > > On Sat, Apr 11, 2009 at 5:19 PM, Hans Zaunere <li...@zaunere.com> wrote: > > Interesting presentation: > > > > http://www.infoq.com/presentations/Facebook-Software-Stack > > > > A lot of valid pros/cons in my opinion. If the cons can be dealt with, I > > see PHP remaining and growing as the dominant language on the web, both > for > > larger and smaller sites. > > > > --- > > Hans Zaunere / Managing Member / New York PHP > > www.nyphp.org / www.nyphp.com > > > > > > > > > > > > > > _______________________________________________ > > New York PHP User Group Community Talk Mailing List > > http://lists.nyphp.org/mailman/listinfo/talk > > > > http://www.nyphp.org/show_participation.php > > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show_participation.php >
_______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show_participation.php