LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Using LiteSpeed Web Server for shared hosting environment 10

Posted by Geroge Wang Fri, 20 Apr 2007 02:09:00 GMT

LiteSpeed 3.0 release offer full compatibilities with commonly used web hosting control panels like cPanel, DirectAdmin and Plesk, etc.

We expect LiteSpeed will at least double the server capacity and reduce server load by 5-10 times when Apache was replace, just because of LiteSpeed's high performance .htaccess implementation alone.

Hosting companies start to take advantage of this now.

www.mediaLayer.com, they even put up a press release here.

Also, www.eleven2.com starts to deploy LiteSpeed Web Server on their shared hosting servers with cPanel.

The feedbacks we got are all positive, pages get loaded faster, reduced memory usage and server load.

One of the feedback we got from one customer of eleven2.com, 30 minutes after the switch, the customer called eleven2, saying "What the crap, our site like a million times faster now!", that's a pretty large vBulletin forum. :-)

We expect to hear a lot more feedbacks like this. 8-)

Azureus/Zudeo and LiteSpeed 2

Posted by Xing Li Tue, 05 Dec 2006 00:42:00 GMT

A new and soon to be released product from LiteSpeed is part of the networking/application foundation for Zudeo. Azureus, the maker of the popular p2p file sharing client has officially lunched their attack on YouTube with Zudeo.

Check out the announcement coverage here:

http://www.techcrunch.com/2006/12/03/azureus-launches-zudeo/

On behalf of everyone at LiteSpeed, we wish the best for Zudeo.

If you are curious at what new LiteSpeed product Zudeo is using, please stay tuned. What we can say right now is that LiteSpeed is not just a web "server" company a full web "platform" company. Our new product will address the scalable needs for all web 2.0 startups at a decisive price-point that will turn heads.

LiteSpeed Web Server 3.0 Beta

Posted by Xing Li Tue, 21 Nov 2006 23:35:00 GMT

In tune to our mantra of releasing often and releasing early, here at LiteSpeed we are happy to announce the public beta of our Web Server 3.0 product.

With 3.0 comes major improvements:

Request Filtering: compatible with SecFilterSelective directives of mod_security. Our enterprise users have requested this feature and as always, we listen to our customers. You can filtering incoming request data and even inspect the full request body. Security is the heart of any serious web-facing deployment and LiteSpeed is here to cater to the most demanding users.

IP to GeoLocation support: full support of all MaxMind's free/commercial GeoIP database products. If you are running an ad server, this feature is indispensable. Select "memory cache" within settings and LiteSpeed will cache IP to Geo lookups to maximize performance and several magnitudes faster than if you have to do it dynamically via an script such as PHP/Ruby.

Revamped Web GUI/Console: we decided it was time to refresh our web administrative interface to improve both Ease Of Use, and performance which now supports up to over 1000+ virtual hosts on a single instance. This is only the foundation of what is to come. Our goal is to have the perfect blend of Ease of Use and Technology. Too many hours are wasted on inefficient interfaces.

64bit support: self-explanatory. LiteSpeed is already extremely memory efficient so going to 64bit has little to do with memory usage but to future proof our product. Within the next 6 months, main-stream 32bit server level CPUs will no longer exist in the market. We will obviously continue our 32bit product line for the millions of 32bit server users out there.

We have also enabled sendfile() support for Standard Edition users.

Test drive 3.0 today and send us your feedbacks!

More info/download: LiteSpeed Web Server 3.0beta

Power outage trumps holiday 2

Posted by Xing Li Tue, 05 Sep 2006 00:40:00 GMT

LiteSpeed's colocation provider lost power for 5 hours very early Thursday morning: hosed electrical feed to the UPS.

In direct response, we relocated our servers to another facility in the same building. The new data-center room has redundant UPS and Power plus twice the cooling capacity as the previous one.

The relocation didn't come without cost. LiteSpeed's site was down for much of late Sunday to late afternoon of Labor Day Monday. We figured anyone who really wanted to visit our site on Labor Day weekend was probably just lost and was a good time to make the move with least impact to our customers.

In summary: Electricity 1, LiteSpeed 0.

Why I don't believe Ruby FCGI can beat LSAPI (Benchmark Ruby LSAPI vs FCGI) 3

Posted by Geroge Wang Fri, 01 Sep 2006 04:33:00 GMT

I simply couldn't believe it when I saw a benchmark result that FCGI beats LSAPI, because we have spent quite amount of time optimizing our LSAPI protocol and implementation, it is much faster than FastCGI protocol according to our benchmark. Then how much faster LSAPI can be? Here is our benchmark for LSWS Enterprise.

This time we only tested Ruby FCGI and LSAPI alone, just simple CGI scripts, no Rails framework involved.

Our test environment is same as the one used in previous post except that we booted our test server into a non-SMP kernel, so only one CPU is used. Why? Because LSAPI is so fast, our simple test script cannot max out all the CPU power, and there are about 20% idle CPU during the test, while almost all CPU power has been used during FCGI test, only have 0.5-1% idle CPU. When we booted into a non-SMP kernel, only 1 CPU is used, which has been maxed out during both tests, the result should make more sense.

Test scripts:

testlsapi.rb

   #!/usr/local/bin/ruby

   require 'lsapi'

   while LSAPI.accept != nil
       print "HTTP/1.0 200 OK\r\nContent-type: text/html\r\n\r\nHello, World!\n"
   end

testfcgi.rb

   #!/usr/local/bin/ruby
   require "fcgi"

   FCGI.each {|request|
       out = request.out
       out.print "Content-Type: text/html\r\n\r\nHello, World!\n"
      request.finish
   }

Both FCGI and LSAPI has been configured to start 10 instances. Here is the result:

Ruby LSAPI:

   $ ab -n 100000 -c 100 http://192.168.0.60:8080/testlsapi
   ...
   Server Software:        LiteSpeed
   Server Hostname:        192.168.0.60
   Server Port:            8080

   Document Path:          /testlsapi
   Document Length:        14 bytes

   Concurrency Level:      100
   Time taken for tests:   13.600 seconds
   Complete requests:      100000
   Failed requests:        0
   Broken pipe errors:     0
   Total transferred:      15300459 bytes
   HTML transferred:       1400042 bytes
   Requests per second:    7352.94 [#/sec] (mean)
   Time per request:       13.60 [ms] (mean)
   Time per request:       0.14 [ms] (mean, across all concurrent requests)
   Transfer rate:          1125.03 [Kbytes/sec] received

   Connnection Times (ms)
                 min  mean[+/-sd] median   max
   Connect:        0     0    0.2      0    14
   Processing:     6    13    2.9     13   280
   Waiting:        1    13    2.9     12   280
   Total:          6    13    2.9     13   283

   Percentage of the requests served within a certain time (ms)
     50%     13
     66%     13
     75%     13
     80%     14
     90%     15
     95%     17
     98%     18
     99%     19
    100%    283 (last request)

FCGI:

    $ab -n 100000 -c 100 http://192.168.0.60:8080/testfcgi
    ...
    Server Software:        LiteSpeed
    Server Hostname:        192.168.0.60
    Server Port:            8080

    Document Path:          /testfcgi
    Document Length:        14 bytes

    Concurrency Level:      100
    Time taken for tests:   20.069 seconds
    Complete requests:      100000
    Failed requests:        0
    Broken pipe errors:     0
    Total transferred:      15300153 bytes
    HTML transferred:       1400014 bytes
    Requests per second:    4982.81 [#/sec] (mean)
    Time per request:       20.07 [ms] (mean)
    Time per request:       0.20 [ms] (mean, across all concurrent requests)
    Transfer rate:          762.38 [Kbytes/sec] received

    Connnection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:        0     0    0.0      0     3
    Processing:    16    19    2.7     18   195
    Waiting:       16    19    2.7     18   195
    Total:         16    19    2.8     18   195

    Percentage of the requests served within a certain time (ms)
      50%     18
      66%     18
      75%     19
      80%     20
      90%     23
      95%     27
      98%     27
      99%     27
     100%    195 (last request)

Ruby LSAPI is about 50% faster than Ruby FCGI for the simple "Hello, World" test.

How about other web servers' FCGI engine? OK, let's try the same test with nginx then.

nginx configuration:

    ...
    upstream fcgi {
          server unix:/tmp/fcgi1.sock;
          server unix:/tmp/fcgi2.sock;
          server unix:/tmp/fcgi3.sock;
          server unix:/tmp/fcgi4.sock;
          server unix:/tmp/fcgi5.sock;
          server unix:/tmp/fcgi6.sock;
          server unix:/tmp/fcgi7.sock;
          server unix:/tmp/fcgi8.sock;
          server unix:/tmp/fcgi9.sock;
          server unix:/tmp/fcgi0.sock;

    }
    ...
    location /testfcgi {
        fastcgi_pass   fcgi;
        include        conf/fastcgi_params;
    }
    ...

Result:

   $ ab -n 100000 -c 100 http://192.168.0.60:80/testfcgi
   ...
   Server Software:        nginx/0.4.0
   Server Hostname:        192.168.0.60
   Server Port:            80

   Document Path:          /testfcgi
   Document Length:        14 bytes

   Concurrency Level:      100
   Time taken for tests:   21.317 seconds
   Complete requests:      100000
   Failed requests:        0
   Broken pipe errors:     0
   Total transferred:      13500000 bytes
   HTML transferred:       1400000 bytes
   Requests per second:    4691.09 [#/sec] (mean)
   Time per request:       21.32 [ms] (mean)
   Time per request:       0.21 [ms] (mean, across all concurrent requests)
   Transfer rate:          633.30 [Kbytes/sec] received

   Connnection Times (ms)
          min  mean[+/-sd] median   max
   Connect:        0     0    0.1      0     6
   Processing:     6    21    3.3     20    47
   Waiting:        2    20    3.3     19    47
   Total:          6    21    3.3     20    47

   Percentage of the requests served within a certain time (ms)
     50%     20
     66%     20
     75%     20
     80%     20
     90%     26
     95%     31
     98%     31
     99%     31
    100%     47 (last request)

Don't believe my test result, try it yourself!

Older posts: 1 2



© Copyright 2003-2007 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.