Perfomance with Virtual Hosting

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
dimxasnewfrozen
Forum Commoner
Posts: 84
Joined: Fri Oct 30, 2009 1:21 pm

Perfomance with Virtual Hosting

Post by dimxasnewfrozen »

I just configured apache (modifying the httpd.conf file) to run multiple hosts using Virtual Hosting.

I've done some simple test with low network traffic. I'm wondering if one domain has a high amount of traffic, does it effect the performance of another domain/host?

Is it worth setting up multiple physical servers for better performance or is there little to no difference with virtual hosting?
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Perfomance with Virtual Hosting

Post by Eran »

The virtual hosts apache runs is not what is called a virtual private server (VPS). Those are ran on separate virtual machines (still using the same physical machine though). If you run several domains on the same virtual/physical machine, they will of course be affected by each others traffic.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Perfomance with Virtual Hosting

Post by Christopher »

The first question is always: Do you have an actual performance problem? There are way to test the web server, using programs like ab or siege, to see the kind of performance you can expect.
(#10850)
Post Reply