Chapter 3. Improving Performance with mod_ perl

only for RuBoard - do not distribute or recompile

Chapter 3. Improving Performance with mod_ perl

graphics/chic01.gif

The primary goal In Chapter 2, Getting Connected Putting Your Database on the Web, was to take care of the basic aspects of getting your MySQL server to work with Apache. The important thing there was just to get data in and out of your databases over the Web, without any particular regard for performance. In this chapter, we ll consider a simple method for improving performance that can help you throughout the rest of this book: use the Apache mod_perl module. In other words, the chapter isn t so much about how to write scripts as about how to make them run faster. I ll describe what mod_perl is and how it changes the way Apache handles scripts to make them execute more quickly. Then we ll see what configuration changes are necessary for using mod_perl and discuss some guidelines for making sure your scripts run properly.

For more information about mod_perl, see Appendix B, References and Further Reading. You ll probably want to consult the mod_perl Guide as a general reference. Several other mod_perl documents make informative reading, too.

only for RuBoard - do not distribute or recompile


MySQL and Perl for the Web
MySQL and Perl for the Web
ISBN: 0735710546
EAN: 2147483647
Year: 2005
Pages: 77
Authors: Paul DuBois

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net