Read the latest web development and design tips at Fred Wu's new blog! :-)
Poke me on GitHub

So I had a play with LiteSpeed just recently. Let’s have a look at what the benchmark says.

Tool used: ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0

Benchmark object: My WordPress blog (homepage), of course I made an exact copy of the current blog you’re seeing to my VPS box (which has both Apache and LiteSpeed installed).

Both Apache and LiteSpeed use default configuration parameters. Since the benchmark was done on the same server, hardware is the same, however there are some software differences.

  • Digg
  • DZone
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Live
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter

Related posts

Tags: , , , , , , , , , ,

Comments Section

15 Responses to “”

Sidebar might be covered by comments ... consider it a feature! ;)
  1. 2

    测一下nginx吧

  2. 3

    nginx配置起来有些麻烦,最近肯定是没时间了…… :(

  3. 4

    nginx 很容易配置,我感觉比apache还容易配置。。

  4. 5

    同上 nginx真的很简单的 速度又快

  5. 7

    Dear Fred,

    think its a rather useless comparison.

    1. you should test against
    ab -n50 http://url/to/my/vps/wordpress/
    not against
    ab -n50 http://url/to/my/vps/wordpress

    2. test against really static content .html, if caching opens php process, its of course very differnt.

    3. ahmm, sorry -xcache enabled as you already said…
    have you tried
    pecl install apc
    for apache, or eaccelerator? I got different mixupped results on different machines – very interestig stuff.

    Hope you will do more of it, e.g. let us know both benchs with / wothout opcode caching on bot servers…

    greetings from the other end of da world,
    chris

  6. 8

    BTW – “Requests per second: 1.08 [#/sec] (mean)”

    think that says one thing: for fast PHP, you need much CPU Power.

  7. 9

    Chris,

    Thanks for your comments. Would you please clarify the URL difference in your first suggestion? AFAIK it makes no difference with or without the trailing slash.

    The benchmark, as I have mentioned in the post, was not done scientifically in the sense of using equal software environment. I hope in the future I am able to conduct a more thorough benchmark. As of right now I am busy with some other stuff…

    Thanks again for your comments I will definitely take them into account for the next benchmark (whenever that will be).

    Cheers,
    Fred

  8. 10

    I can clarify the trailing slash bit, if you don’t include it the webserver should return a Location: redirect with a new URL including the trailing slash, which means a round trip for nothing. So things will be quicker if you include it.

    I am writing a simple little webserver which is outperforming litespeed and other fast servers (by a small margin at the moment).

  9. 11

    Nginx is much faster:

    NginX vs LiteSpeed: Magento Benchmark Tests

    http://turnkeye.com/blog/2010/.....t-magento/

  10. 12

    Very interesting, i want apply Litespeed for my site that use Kloxo, but still having trouble trouble for combine with my server that use Kloxo :(

  11. 13

    I am interisting but still having trouble trouble Litespeed for mys site that use Kloxo :(

  12. 15

    I usually do not drop a comment, but I browsed a few of the responses here Benchmark: LiteSpeed
    vs Apache (PHP and Plain HTML) | Beyond Coding.
    I actually do have 2 questions for you if you tend not to
    mind. Is it simply me or do a few of the responses look like
    they are left by brain dead individuals? :-P And, if you are writing on additional online social sites,
    I would like to keep up with you. Could you make a list of
    all of all your social community sites like your
    twitter feed, Facebook page or linkedin profile?