• Email
  • Favorite
  • Download
  • Embed
  • Private Content

High Performance Php My Sql Scaling Techniques

by ZendCon on Sep 23, 2008

  • 7,799 views

This talk will discuss issues and solutions when attempting to scale PHP and MySQL to high volume websites (such as digg.com). It will discuss some of the problems at hand, and go into (at a high level...

This talk will discuss issues and solutions when attempting to scale PHP and MySQL to high volume websites (such as digg.com). It will discuss some of the problems at hand, and go into (at a high level) some of the solutions, such as using memcache, DB partitioning, etc. As well as how to handle these solutions within PHP.

Accessibility

Categories

Tags

zendcon08 php mysql performance php mysql scaling

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

4 Embeds 56

http://www.slideshare.net 31
http://www.techiegyan.com 22
http://192.168.10.3 2
http://www.brightvillage.net 1

Statistics

Favorites
7
Downloads
296
Comments
1
Embed Views
56
Views on SlideShare
7,743
Total Views
7,799

11 of 1 previous next

  • EliWhite Eli White , Zend Community Manager & DevZone Editor in Chief at Zend Actually (Eli Here), While yes, it is possible to use apache for static content and saturate an outbound link ... what viewing these slides without my voice doesn't get into are some of the reasons for using thttpd.

    Apache+PHP makes for some heavy processes, depending on what you are doing, and your machine's in question, it's possible to run out of RAM and hit swap very quickly, because of image/etc requests coming in that don't need PHP anyway, yet require more and more RAM for new processes.

    Also, Apache+PHP can only handle so many concurrent requests before locking out future ones. If a bunch of people come to download very large static files, they can lock up all the connections, causing a very slow (or non-existant) website to your other users. Servers such as thttpd which operate in a polling fashion, instead of a process fork manner, can therefore handle many more requests for static content without hitting limits.
    3 years ago Reply
    Are you sure you want to Yes No
Post Comment
Edit your comment Cancel

High Performance Php My Sql Scaling Techniques — Presentation Transcript