Apache 2.2 and LiteSpeed

vivek

Well-Known Member
#1
Hello

I heard that Apache 2.2 version with some changes in httpd.conf gives best performance, almost same as LiteSpeed
If you were to compare a well tuned Apache 2.2 worker thread install vs LiteSpeed, you'll see very little difference other than you paid money for LiteSpeed.
So, any benchmark results available at this time ?
 

mistwang

LiteSpeed Staff
#2
The best benchmark is your own result, it is pretty easy build Apache 2.2 with worker and comparing it to LiteSpeed in a real world setup.

We will do benchmark tests after our 4.1 release.
 

Tony

Well-Known Member
#3
Apache 2.2 with worker thread is a juggernaut but it's still not comparable to LiteSpeed with regards to serving static content.

Now for doing PHP as well it's more tricky with Apache as your best bet is FastCGI. If it's for a single site well it can be a pretty good performer. If you're looking at suexec as well you'll need pools for each user which can be a memory hog depending on the configuration. LSWS implementation is better from my testing with regards to all the PHP processes.

Also worth keeping in mind worker uses virtual memory. This can be devastating in some environments. For example a VPS you cannot run worker without first configuring the OS to handle the virtual memory. Otherwise you end up with the entire VPS memory being used by Apache.

So to summarize I bet with a lot of work to optimize for a specific environment you can get it close. Of course if I wanted to go this route I wouldn't even use the worker mpm I'd use the event one and assume I'm not using SSL or other features that are not supported on that mpm.
 
Top