PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Load Balancing with Apache

Note: This article was originally published at Planet PHP on 26 March 2011.
Planet PHP

At last night's Burlington, Vermont PHP Users Group meeting a gave a presentation on Load Balancing with Apache:

Load Balancing with Apache

View more presentations from Bradley Holt

I've posted the example configuration files for reference.

Basic load balancing:

Sticky sessions in PHP:

Create your own sticky sessions:

Route based on HTTP method:

Distributed load testing with Tsung:

I cover load balancing and distributed load testing in more detail in my upcoming book, Scaling CouchDB.