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
Upload Details
Uploaded via SlideShare as Adobe PDF
Usage Rights
© All Rights Reserved
Statistics
- Favorites
- 7
- Downloads
- 296
- Comments
- 1
- Embed Views
- Views on SlideShare
- 7,743
- Total Views
- 7,799

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