Apache 2.2 and LiteSpeed

Discussion in 'General' started by vivek, May 22, 2009.

  1. vivek

    vivek New Member

    Hello

    I heard that Apache 2.2 version with some changes in httpd.conf gives best performance, almost same as LiteSpeed
    So, any benchmark results available at this time ?
  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. Tony

    Tony Member

    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.
  4. anewday

    anewday Moderator

    George, if I remember correctly, you said 4.1 will be out in May?

Share This Page