Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-05-28, 03:03:14

Author Topic: [6.5.1a] Web/Webcache servers Benchmark  (Read 8793 times)

0 Members and 1 Guest are viewing this topic.

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 14,490
  • Karma: +105/-8
  • Gender: Male
    • View Profile
    • MRatWork Forum
[6.5.1a] Web/Webcache servers Benchmark
« on: 2013-10-06, 11:56:26 »
This is information about benckmarking of Web/Webcache servers:

Code: [Select]
-------------------------------------------------
No.  Web Server                 requests/second
-------------------------------------------------
 1.  Apache                               8.04
 2.  Hiawatha                             8.76
 3.  Lighttpd                             8.74
 4.  Nginx                                8.89
 5.  Nginx + microcache *)              514.75
                                      4,089.80
                                     11,213.65

 6. Hiawatha-proxy                        8.82
 7. Lighttpd-proxy                        8.65
 8. Nginx-proxy                           8.42    
 9. Nginx-proxy + microcache *)         278.59
                                      3,066.68
                                     10,992.15

10. Hiawatha + Trafficserver **)          7.84
11. Hiawatha + Varnish *)               307.93
                                      10794.71
                                      10897.40
-------------------------------------------------

Note:

1. System: (with little mod/fix)

   A. Kloxo-MR: 6.5.1.a-2013100403

   B. OS: CentOS release 6.4 (Final) x86_64

   C. Apps:
      1. MySQL: mysql-5.5.34-1.el6.x86_64
      2. PHP: php53u-5.3.27-1.ius.el6.x86_64
      3. Httpd: --uninstalled--
      4. Lighttpd: --uninstalled--
      5. Hiawatha: --uninstalled--
      6. Nginx: --uninstalled--
      7. Cache: --uninstalled--
      8. Dns: nsd-3.2.15-5.el6.x86_64
      9. Qmail: qmail-toaster-1.03-1.3.27.mr.el6.x86_64
         - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64

   D. Php-type (for Httpd/proxy): php-fpm_event

   E. Memory:
                   total       used       free     shared    buffers     cached
      Mem:           616        491        124          0         10        259
      -/+ buffers/cache:        222        394
      Swap:            0          0          0


2. All testing in local

3. Testing with step:
        yum install httpd-tools -y
        sh /script/clearcache3
        sh /script/restart-all
        ab -n 1000 -c 10 http://bugfix.potissima.com/

4. *)  testing 3 x running 'ab -n 1000 -c 10 http://bugfix.potissima.com/'
       with idle between testing less then 10 seconds (according to caching time for 'microcache')
   **) look like still something trouble with Trafficserver where no cache effect; the same result for Squid Cache Proxy

5. Testing application: Wordpress 3.6.1 + Mesocolumn Theme

Summaries:
1. For websites with high-traffic (low websites amount) better use nginx or nginx-proxy with microcache (enable in incoming 6.5.1)
2. For websites in 'share-hosting' bussiness (high website amount) better nginx-proxy with microcache + web cache server (like varnish or trafficserver)

Additional Info:
- Hiawatha have 'microcache' effect with add:
Code: [Select]
<?php
  header
("X-Hiawatha-Cache: 10");
?>
in /index.php
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline marcus5914

  • Valuable Member
  • *
  • Posts: 59
  • Karma: +0/-0
    • View Profile
Re: [6.5.1a] Web/Webcache servers Benchmark
« Reply #1 on: 2013-10-07, 00:42:06 »
looking forward to  nginx-proxy with microcache
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline marcus5914

  • Valuable Member
  • *
  • Posts: 59
  • Karma: +0/-0
    • View Profile
Re: [6.5.1a] Web/Webcache servers Benchmark
« Reply #2 on: 2013-10-07, 12:46:41 »
can you install wp supercache than try to run Benchmark .
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 14,490
  • Karma: +105/-8
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [6.5.1a] Web/Webcache servers Benchmark
« Reply #3 on: 2013-10-07, 13:34:52 »
I will not testing cache plugins because it's outside of my work.

The best choices:

1. Use nginx/nginx-proxy --> if possible, use nginx instead nginx-proxy
2. enable microcache in nginx/nginx-proxy
2. Install php xcache, and
3. Install application's cache plugin
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline marcus5914

  • Valuable Member
  • *
  • Posts: 59
  • Karma: +0/-0
    • View Profile
Re: [6.5.1a] Web/Webcache servers Benchmark
« Reply #4 on: 2013-10-07, 19:07:22 »
how to enable  microcache in nginx-proxy in 6.5.0
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 14,490
  • Karma: +105/-8
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [6.5.1a] Web/Webcache servers Benchmark
« Reply #5 on: 2013-10-07, 19:25:47 »
Remember, no significance effect for low-traffic website. Better if you have website with 100,000-1,000,000 hits/day.

For Kloxo-MR 6.5.0, follow this steps:

1. copy proxy.conf to custom.proxy.conf and php-fpm.conf to custom.php-fpm.conf inside /home/nginx/conf/globals

2. Modified custom.proxy.conf

from:
Code: [Select]
...
    ### MR -- just enough remove # below for enable nginx cache
    #fastcgi_cache fcache;
    fastcgi_cache_valid 200 1h;
    fastcgi_cache_valid 301 1h;
    fastcgi_cache_valid 302 1h;
    fastcgi_cache_valid any 1m;
...

to:
Code: [Select]
...
    ### MR -- just enough remove # below for enable nginx cache
    fastcgi_cache fcache;
    #fastcgi_cache_valid 200 1h;
    #fastcgi_cache_valid 301 1h;
    #fastcgi_cache_valid 302 1h;
    #fastcgi_cache_valid any 1m;
    ## for microcache for fastcgi
    fastcgi_cache_valid 200 10s;
    fastcgi_cache_use_stale updating;
    fastcgi_max_temp_file_size 1M;
...

and custom.proxy.conf

from:
Code: [Select]
...
        ### MR -- just enough remove # below for enable cache
        #proxy_cache pcache;
        proxy_cache_valid 10m;
        proxy_cache_valid 404 1m;
...

to:
Code: [Select]
...
        ### MR -- just enough remove # below for enable cache
        proxy_cache pcache;
        #proxy_cache_valid 10m;
        #proxy_cache_valid 404 1m;
        ## for microcache for proxy
        proxy_cache_valid 200 10s;
        proxy_cache_use_stale updating;
        proxy_max_temp_file_size 1M;
...

2. run 'sh /script/fixweb'

3. run 'sh /script/restart-web'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,888
  • Karma: +1/-0
    • View Profile
Re: [6.5.1a] Web/Webcache servers Benchmark
« Reply #6 on: 2013-10-07, 21:10:03 »
Please test Varnish/Apache Traffic Server + nginxproxy + microcache + Apache to see if there is any benefit of Varnish of ATS ;)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 14,490
  • Karma: +105/-8
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [6.5.1a] Web/Webcache servers Benchmark
« Reply #7 on: 2013-10-07, 21:31:24 »
Quote from: "Spacedust"
Please test Varnish/Apache Traffic Server + nginxproxy + microcache + Apache to see if there is any benefit of Varnish of ATS ;)
I am still have a problem with ATS.

But, Varnish+nginxproxy+microcache is near the same result compare to nginxproxy+microcache or varnish+nginxproxy.

So, in high-traffic website, using varnish is useless. Enough using nginxproxy+microcache.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 14,490
  • Karma: +105/-8
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [6.5.1a] Web/Webcache servers Benchmark
« Reply #8 on: 2013-10-07, 21:33:36 »
In my latest test, only nginx and hiawatha are possible to implementing 'microcache' (with different way). Apache and lighttpd not work.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,888
  • Karma: +1/-0
    • View Profile
Re: [6.5.1a] Web/Webcache servers Benchmark
« Reply #9 on: 2013-10-07, 23:35:56 »
So I'm sticking with nginxproxy+microcache ;)

What about Apache 2.4. Is it ready ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline befree22

  • Valuable Member
  • *
  • Posts: 95
  • Karma: +0/-1
    • View Profile
Re: [6.5.1a] Web/Webcache servers Benchmark
« Reply #10 on: 2014-01-21, 16:35:23 »
In my latest test, only nginx and hiawatha are possible to implementing 'microcache' (with different way). Apache and lighttpd not work.

Have you implemented Hiawatha for Kloxo-MR yet? I followed your post at https://hiawatha-webserver.org/forum/topic/1510

My vps is on Nginx but I had a ddos attack and the server admin is testing Hiawatha implementation instead. I'd like to keep my Kloxo-MR control panel.

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 14,490
  • Karma: +105/-8
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [6.5.1a] Web/Webcache servers Benchmark
« Reply #11 on: 2014-01-21, 17:43:35 »
VPS for this forum already using for hiawatha-proxy.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.037 seconds with 18 queries.

web stats analysis