📄 asg12.htm
字号:
<HTML>
<HEAD>
<TITLE>Apache Server Survival Guide asg12.htm </TITLE>
<LINK REL="ToC" HREF="index.htm" tppabs="http://docs.rinet.ru:8080/Apachu/index.htm">
<LINK REL="Index" HREF="htindex.htm" tppabs="http://docs.rinet.ru:8080/Apachu/htindex.htm">
<LINK REL="Next" HREF="asg13.htm" tppabs="http://docs.rinet.ru:8080/Apachu/asg13.htm">
<LINK REL="Previous" HREF="asg11.htm" tppabs="http://docs.rinet.ru:8080/Apachu/asg11.htm"></HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080">
<!--#exec cmd="/www/docs/ssi-bin/restricted_search.ssi"-->
<!--#exec cmd="/www/docs/ssi-bin/inc.ssi"-->
<A NAME="I0"></A>
<H2>Apache Server Survival Guide asg12.htm</H2>
<P ALIGN=LEFT>
<A HREF="asg11.htm" tppabs="http://docs.rinet.ru:8080/Apachu/asg11.htm" TARGET="_self"><IMG SRC="purprev.gif" tppabs="http://docs.rinet.ru:8080/Apachu/purprev.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="Previous Page"></A>
<A HREF="index.htm" tppabs="http://docs.rinet.ru:8080/Apachu/index.htm" TARGET="_self"><IMG SRC="purtoc.gif" tppabs="http://docs.rinet.ru:8080/Apachu/purtoc.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="TOC"></A>
<A HREF="asg13.htm" tppabs="http://docs.rinet.ru:8080/Apachu/asg13.htm" TARGET="_self"><IMG SRC="purnext.gif" tppabs="http://docs.rinet.ru:8080/Apachu/purnext.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="Next Page"></A>
<HR ALIGN=CENTER>
<P>
<UL>
<UL>
<UL>
<LI>
<A HREF="#E68E143" >Hardware Tuning</A>
<UL>
<LI>
<A HREF="#E69E135" >CPU Subsystem Tuning</A>
<UL>
<LI>
<A HREF="#E70E136" >Distributed Servers</A></UL>
<LI>
<A HREF="#E69E136" >RAM</A>
<LI>
<A HREF="#E69E137" >Disk Tuning</A>
<UL>
<LI>
<A HREF="#E70E137" >RAID</A></UL>
<LI>
<A HREF="#E69E138" >Network Tuning</A>
<UL>
<LI>
<A HREF="#E70E138" >Network Services (WAN)</A>
<LI>
<A HREF="#E70E139" >Local Networks: Ethernet LANs</A></UL></UL>
<LI>
<A HREF="#E68E144" >Software Tuning</A>
<UL>
<LI>
<A HREF="#E69E139" >HTTP Server</A>
<LI>
<A HREF="#E69E140" > TCP/IP Tuning</A>
<UL>
<LI>
<A HREF="#E70E140" >Listen Backlog (SOMAXCONN)</A></UL>
<LI>
<A HREF="#E69E141" >File System Tuning</A>
<LI>
<A HREF="#E69E142" >CGI Program Tuning</A>
<UL>
<LI>
<A HREF="#E70E141" >Compiled CGI</A>
<LI>
<A HREF="#E70E142" >FastCGI</A>
<LI>
<A HREF="#E70E143" >Distributed CGI Servers</A></UL>
<LI>
<A HREF="#E69E143" >Databases</A></UL>
<LI>
<A HREF="#E68E145" >Kernel Tuning</A>
<UL>
<LI>
<A HREF="#E69E144" >A/UX</A>
<LI>
<A HREF="#E69E145" >BSDI and FreeBSD</A>
<LI>
<A HREF="#E69E146" >Linux</A></UL>
<LI>
<A HREF="#E68E146" >Network Topology Tuning</A>
<UL>
<LI>
<A HREF="#E69E147" >Network Plumbing 99</A>
<UL>
<LI>
<A HREF="#E70E144" >The Network or Communication Layer</A>
<LI>
<A HREF="#E70E145" >The Internet Protocol Layer</A>
<LI>
<A HREF="#E70E146" >IP Addresses</A>
<LI>
<A HREF="#E70E147" > Reserved Addresses</A></UL>
<LI>
<A HREF="#E69E148" >Subnetting</A>
<UL>
<LI>
<A HREF="#E70E148" >Building a Subnet</A></UL></UL>
<LI>
<A HREF="#E68E147" >Caching Proxy Servers: Reducing the Bandwidth You Consume</A>
<UL>
<LI>
<A HREF="#E69E149" >What Is a Proxy Server?</A></UL>
<LI>
<A HREF="#E68E148" >Content Tuning</A>
<UL>
<LI>
<A HREF="#E69E150" >Graphics</A>
<LI>
<A HREF="#E69E151" >Client-side Image Maps</A></UL>
<LI>
<A HREF="#E68E149" >Summary</A></UL></UL></UL>
<HR ALIGN=CENTER>
<A NAME="E66E12"></A>
<H1 ALIGN=CENTER>
<CENTER>
<FONT SIZE=6 COLOR="#FF0000"><B>12</B></FONT></CENTER></H1>
<BR>
<A NAME="E67E17"></A>
<H2 ALIGN=CENTER>
<CENTER>
<FONT SIZE=6 COLOR="#FF0000"><B>Web Server Performance Tuning</B></FONT></CENTER></H2>
<BR>
<P>If there's one thing there is never enough of, it's speed. Speedy delivery of your content is one way to enhance your site's appeal. Slow sites usually get clicked away because computers are good at eliminating patience from their users. A computer will never be fast enough. As a webmaster, it is your responsibility to maintain and tune your system to meet the performance needs of your users. Many of the things you can do will depend on the size of your budget. Dream systems and high-speed networks are available, but at a premium.
<BR>
<P>Performance tuning is an art. Where you spend money in terms of hardware can make a big difference in the cost and performance of your site. Performance enhancements also raise the initial cost of hardware, which gets cheaper and more powerful everyday. Some performance tuning issues don't cost anything; they relate more to the design of your site and how users navigate it. Other issues involve tuning your software so that your system can run optimally. Another option involves the organization of your systems; arranging your network in a certain way can provide certain benefits that enhance the overall performance of your site.
<BR>
<P>Here are the four performance issues you'll explore in this chapter:
<BR>
<UL>
<LI>Hardware tuning
<BR>
<BR>
<LI>Software tuning
<BR>
<BR>
<LI>Network-topology tuning
<BR>
<BR>
<LI>Content tuning
<BR>
<BR>
</UL>
<P>If you are willing to spend the time, fine-tuning your kernel can make all the difference in the world in terms of performance. However, you should be very careful to have a bootable kernel available in case you manage to kill the system. The best advice regarding kernel configuration is <I>don't do it</I> unless you know exactly what you're doing.
<BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -