Load Balancing

This section deals with the problems of running a high-volume web site on a number of physical servers. These problems are roughly:

  • Connecting the servers together.

  • Tuning individual servers to get the best out of the hardware and Apache.

  • Spreading the load among a number of servers with mod_backhand.

  • Spreading your data over the servers with Splash so that failure of one database machine does not crash the whole site.

  • Collecting log files in one place with rsync (see http://www.rsync.org/ ) — if you choose not to do your logging in the database.

Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.