Chapter 7. Application Tuning

Table of Contents
7.1. Squid Proxy Server
7.1.1. Squid as a proxy cache
7.1.2. Squid as a reverse proxy
7.2. SMTP and Mail Delivery
7.2.1. Sendmail
7.2.2. Mail Delivery (POP and IMAP)
7.3. MySQL, PostgresSQL, other databases
7.4. Routers and firewalls
7.5. Apache web server
7.5.1. Perl
7.5.2. Python
7.5.3. PHP
7.6. Samba File Sharing
7.7. Network File System

While one can tune hardware and the OS and get great measurements from it, most applications for Linux have their own rules for improving performance. Tuning a hard drive for an application that uses a lot of memory will not improve the speed of that application, whereas investing in more memory will create a vast improvement in speed. Let us examine some of the applications for Linux and how you can tune a box specifically for it.