dcsimg

More articles by Stas Bekman

Improving mod_perl Driven Site's Performance -- Part VII: Performance Tuning by Tweaking Apache Configuration

Correct configuration of the MinSpareServers, MaxSpareServers, StartServers, MaxClients, and MaxRequestsPerChild parameters is very important. There are no defaults. If they are too low, you will under-use the system's capabilities. If they are too high, the chances are that the server will bring the machine to its knees.

Improving mod_perl Driven Site's Performance -- Part VI: Forking and Executing Subprocesses from mod_perl

This article has information and example code for forking a new process, freeing the parent process, detaching the forked process, avoiding zombie processes, a complete fork example, starting a long-running external program, starting a short-running external program, and executing system() or exec() in the right way.

Improving mod_perl Driven Site's Performance -- Part V: Sharing Memory

As we have learned in the previous article, sharing memory helps us to save memory with mod_perl, which gives us a huge speed up, but we pay with price of big memory footprint. In this article, we will see other techniques that allow you to save even more memory, such as preloading registry scripts at server startup and initializing CGI.pm.

Improving mod_perl Driven Site's Performance -- Part IV: Sharing Memory

If your OS supports sharing of memory, you might save a lot of RAM by sharing it between child processes. This will allow you to run more processes and hopefully better satisfy the client, without investing extra money into buying more memory.

Apache::VMonitor -- The Visual System and Apache Server Monitor

The Apache::VMonitor module provides even better monitoring functionality than top(1). It gives all the relevant information top(1) does, plus all the Apache specific information provided by Apache's mod_status module.

Improving mod_perl Driven Site's Performance -- Part II: Benchmarking Applications

In this article we will talk about tools that we need to get armed with before we can start working on the performance of our service. In order to improve performance we need measurement tools. The main tool categories are benchmarking and code profiling.

Improving mod_perl Driven Site's Performance -- Part I: Choosing Operating System and Hardware

In the next series of articles we are going to talk about mod_perl performance issues. We will try to look at as many aspects of the mod_perl driven service as possible. Hardware, software, Perl coding and finally the mod_perl specific aspects.

The Perl You Need to Know, Part II: Working with Nested Subroutines

In his next installment of Perl programming basics, Stas Bekman looks at nested subroutines and provides several ways to deal with them successfully.

The Perl Basics You Need To Know

Anyone interested in using mod_perl with the Apache Web server will need to know the basics of the Perl programming language. In this column, Stas Bekman explains some common pitfalls beginners face when initially tackling Perl.

Installation of mod_perl-enabled Apache Without Superuser Privileges

While installing Apache without root privileges is a very easy task, one should know how to install Perl modules in a non-systemwide location. In this tutorial, Stas Bekman describes how to do just that.

Getting Started with mod_perl in 30 Minutes

Intimidated by the prospects of configuring mod_perl on your Apache server? Don't be. Getting started with mod_perl shouldn't take you more than 30 minutes, the time it takes to compile and configure the server on a decent machine and get it running. In this column, Stas Bekman explains how to get mod_perl up and running with a minimum of fuss.

Total Modern Mod_perl

One of the most popular Apache modules is mod_perl. We kick off our regular coverage of mod_perl with an overview of the module geared for both true believers and Apache neophytes.