Any application has goals in terms of performance. There will always be resource constraints such as CPU, memory, disk throughput, and so on. If your site is expecting significant amounts of traffic (millions of page views per day), you should spend some time on different aspects of performance tuning.
After you finish reading this chapter, you will have learned how to
Design high-performance PHP applications
Use different types of caching methods
Profile PHP code
Work with code and database optimization
Optimize PHP itself
Tune the web server and operating system
This chapter's goal is to help you to use PHP to its fullest to build cost-efficient applications.