Ebook: Pro PHP Application Performance: Tuning PHP Web Projects for Maximum Performance
- Genre: Computers // Programming: Programming Languages
- Tags: Computer Science general
- Year: 2011
- Publisher: Apress
- Edition: 1
- Language: English
- pdf
Pro PHP Application Performance will help you understand all the technologies and components which play a role in how well your applications run. When seconds can mean the difference between retaining a user and losing a user, it's important for all of us to have optimization as part of our project roadmap. But what components within your application should you analyze? How should you optimize? And how can you measure how well your application is performing? These are some of the questions that are answered in this book.
Along the way you will also learn the "why" of optimizing. You'll discover why you should optimize a specific component, why selecting one function over another is beneficial, and how to find and use the optimization tools available to the open source community. You'll also learn how to deploy caching software as well as web server software. Pro PHP Application Performance will also teach you more advanced techniques, such as:
• Using Xdebug to profile functions that are not running as efficiently as possible.
• Comparing opcode executed by different PHP functions to narrow the search for functions that run efficiently.
• Using strace to analyze Apache while your application is served to the user.
Once you complete this book you will have a complete sense of where to start optimizing and, most importantly, have the tools which allow you to continue optimizing in other PHP applications going forward.
Pro PHP Application Performance will help you understand all the technologies and components which play a role in how well your applications run. When seconds can mean the difference between retaining a user and losing a user, it's important for all of us to have optimization as part of our project roadmap. But what components within your application should you analyze? How should you optimize? And how can you measure how well your application is performing? These are some of the questions that are answered in this book.
Along the way you will also learn the "why" of optimizing. Youll discover why you should optimize a specific component, why selecting one function over another is beneficial, and how to find and use the optimization tools available to the open source community. Youll also learn how to deploy caching software as well as web server software. Pro PHP Application Performance will also teach you more advanced techniques, such as:
<li> Using Xdebug to profile functions that are not running as efficiently as possible.
<li> Comparing opcode executed by different PHP functions to narrow the search for functions that run efficiently.
<li> Using strace to analyze Apache while your application is served to the user.
Once you complete this book you will have a complete sense of where to start optimizing and, most importantly, have the tools which allow you to continue optimizing in other PHP applications going forward.
Pro PHP Application Performance will help you understand all the technologies and components which play a role in how well your applications run. When seconds can mean the difference between retaining a user and losing a user, it's important for all of us to have optimization as part of our project roadmap. But what components within your application should you analyze? How should you optimize? And how can you measure how well your application is performing? These are some of the questions that are answered in this book.
Along the way you will also learn the "why" of optimizing. Youll discover why you should optimize a specific component, why selecting one function over another is beneficial, and how to find and use the optimization tools available to the open source community. Youll also learn how to deploy caching software as well as web server software. Pro PHP Application Performance will also teach you more advanced techniques, such as:
<li> Using Xdebug to profile functions that are not running as efficiently as possible.
<li> Comparing opcode executed by different PHP functions to narrow the search for functions that run efficiently.
<li> Using strace to analyze Apache while your application is served to the user.
Once you complete this book you will have a complete sense of where to start optimizing and, most importantly, have the tools which allow you to continue optimizing in other PHP applications going forward.
Content:
Front Matter....Pages i-xvi
Chapter 1 Benchmarking Techniques....Pages 1-24
Chapter 2 Improving Client Download and Rendering Performance....Pages 25-53
Chapter 3 PHP Code Optimization....Pages 55-81
Chapter 4 Opcode Caching....Pages 83-107
Chapter 5 Variable Caching....Pages 109-129
Chapter 6 Choosing the Right Web Server....Pages 131-163
Chapter 7 Web Server and Delivery Optimization....Pages 165-188
Chapter 8 Database Optimization....Pages 189-208
Back Matter....Pages 209-244
Pro PHP Application Performance will help you understand all the technologies and components which play a role in how well your applications run. When seconds can mean the difference between retaining a user and losing a user, it's important for all of us to have optimization as part of our project roadmap. But what components within your application should you analyze? How should you optimize? And how can you measure how well your application is performing? These are some of the questions that are answered in this book.
Along the way you will also learn the "why" of optimizing. Youll discover why you should optimize a specific component, why selecting one function over another is beneficial, and how to find and use the optimization tools available to the open source community. Youll also learn how to deploy caching software as well as web server software. Pro PHP Application Performance will also teach you more advanced techniques, such as:
<li> Using Xdebug to profile functions that are not running as efficiently as possible.
<li> Comparing opcode executed by different PHP functions to narrow the search for functions that run efficiently.
<li> Using strace to analyze Apache while your application is served to the user.
Once you complete this book you will have a complete sense of where to start optimizing and, most importantly, have the tools which allow you to continue optimizing in other PHP applications going forward.
Content:
Front Matter....Pages i-xvi
Chapter 1 Benchmarking Techniques....Pages 1-24
Chapter 2 Improving Client Download and Rendering Performance....Pages 25-53
Chapter 3 PHP Code Optimization....Pages 55-81
Chapter 4 Opcode Caching....Pages 83-107
Chapter 5 Variable Caching....Pages 109-129
Chapter 6 Choosing the Right Web Server....Pages 131-163
Chapter 7 Web Server and Delivery Optimization....Pages 165-188
Chapter 8 Database Optimization....Pages 189-208
Back Matter....Pages 209-244
....