Practical mod_perl / HTML Book /



previous page: 12.12.3. The Solution
  
page up: HTML Version of the book
  
next page: 12.13. Running More than One mod_perl Server on the Same Machine

12.12.4. Three Machine Model


Since we are talking about using a dedicated machine for each server, you might consider adding a third machine to do the proxy work; this will make your setup even more flexible, as it will enable you to proxypass all requests not just to one mod_perl-running box, but to many of them. This will enable you to do load balancing if and when you need it.

Generally, the proxy machine can be very light when it serves just a little traffic and mainly proxypasses to the mod_perl processes. Of course, you can use this machine to serve the static content; the hardware requirement will then depend on the number of objects you have to serve and the rate at which they are requested.

Figure 12-10 illustrates the three machine model.

Figure 12-10

Figure 12-10. A proxy machine, machine(s) with mod_perl-enabled Apache, and the database server machine

 

Continue to:

  • prev: 12.12.3. The Solution
  • Table of Contents
  • next: 12.13. Running More than One mod_perl Server on the Same Machine







TOP
previous page: 12.12.3. The Solution
  
page up: HTML Version of the book
  
next page: 12.13. Running More than One mod_perl Server on the Same Machine


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com