Resin Outperforms NginX

B
Resin Java Web Server
                        Outperforms C-based NginX




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Open%Source,%Reliable%and%Lightweight%
      Java%EE%Applica;on%Server%




RESIN PRO   Web Profile   Health System   Cloud Support
NginX 1.2.0 versus Resin
                  4.0.29 Performance Tests
     •The following will be covered:
         • Resin validation as the single best solution for web server
           and application server
         • Tools used in benchmark testing
             • httperf
             • AutoBench
         • Results from performance testing Resin 4.0.29 and NginX
             1.2.0




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Resin outperforms NginX

     •Resin
         • Reputation as fast, lightweight and powerful Java
             application server

     •NginX
         • Known to be faster and more reliable under load than
             Apache HTTPD

     •Benchmark tests between Resin and NginX
         • Both yielded competitive figures
         • Resin leads testing with:
             • Fewer errors


Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Benchmark Tools

     • Industry standard tool and methodology
         • Httperf
             • httperf is tool produced by HP for measuring web server performance.
                 The httperf tool supports HTTP/1.1 keepalives and SSL protocols.
         • AutoBench
             • a tool for automating a comparative benchmark test against two a web
               servers.
             • Runs httperf against each host.
             • Increases the number of requests per seconds on each iteration.
             • Delivers output in a format that can be easily consumed by spreadsheet
                 tools.
             • The command autobenchd is used to run a daemon on client machines.
             • The autobench_admin command drives many clients to run test at same
                 time by communicating with autobenchd.




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Test Setup Overview




     •Configuration
         • The only change that was made was the
             worker_processes were set to 8 for NginX to improve
Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Hardware Software Specifications

     • Client HW/OS specs:
          • i7 4 core / 8 HT, 2.8 GHZ, 8Meg Cache, 8 GB RAM.
          • Ubuntu 12 / Linux Kernel 3.2.0-26-generic
     • Server HW specs:
          • i7 4 core / 8 HT, 2.8 GHZ, 8Meg Cache, 8 GB RAM.
          • Ubuntu 12 / Linux Kernel 3.2.0-26-generic
     • Test software
          • Autobench 2.1.1
          • httperf 0.9.0
     • Software under test:
          • Resin Pro 4.0.29
          • nginx 1.2.0
Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
0K Test - Command Line
                                Arguments
         0k.sh
                    ./admin.sh 300000 2000 20000 1000 0k


         admin.sh
                    autobench_admin
                    --clients xen:4600,lancre:4600
                    --uri1 /file_$5.html
                    --host1 ch_resin --port1 8080
                    --uri2 /file_$5.html
                    --host2 ch_nginx --port2 80
                    --num_conn $1
                    --num_call 10
                    --low_rate $2
                    --high_rate $3
                    --rate_step $4
                    --timeout 3
                    --file out_con$1_start$2_end$3_step$4_$5.tsv

         (Above is used to setup 300,000 connections at a rate of 20,000 to 200,000 requests per
         second.
         Each iteration increases the rate by 10,000 from 20,000 to 200,000.)

         0k.html
                    html>
                    <body>
                    <pre></pre>
                    </body>
                    </html>

Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Resin 4.0.29 vs NginX 1.2.0
                  0K file - requests per second




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Resin 4.0.29 vs NginX 1.2.0
                       0K file - Response Time




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Resin 4.0.29 vs NginX 1.2.0
                        0K file - IO throughput




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Resin 4.0.29 vs NginX 1.2.0
                            0K file - Errors




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
1K Test - Command Line
                                Arguments
         1k.sh
                    ./admin.sh 200000 1000 10000 250 1k


         admin.sh
                    autobench_admin
                    --clients xen.caucho.com:4600,lancre.caucho.com:4600
                    --uri1 /file_$5.html
                    --host1 ch_resin --port1 8080
                    --uri2 /file_$5.html
                    --host2 ch_nginx --port2 80
                    --num_conn $1
                    --num_call 10
                    --low_rate $2
                    --high_rate $3
                    --rate_step $4
                    --timeout 3
                    --file out_con$1_start$2_end$3_step$4_$5.tsv
         1k.html
                    html>
                    <body>
                    <pre>
                    0 0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789
                    1 0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789
                    2 0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789
                    3 0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789
                    4 0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789
                    5 0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789
                    6 0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789
                    7 0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789
                    8 0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789
                    9 0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789   0123456789
                    </pre>
                    </body>
                    </html>




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Resin 4.0.29 vs NginX 1.2.0
                  1K file - requests per second




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Resin 4.0.29 vs NginX 1.2.0
                       1K file - Response Time




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Resin 4.0.29 vs NginX 1.2.0
                        1K file - IO throughput




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Resin 4.0.29 vs NginX 1.2.0
                            1K file - Errors




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Resin 4.0.29 vs NginX 1.2.0
                  8K file - requests per second




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Resin 4.0.29 vs NginX 1.2.0
                64K file - requests per second




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
Links
     •www.caucho.com
     •blog.caucho.com - Resin vs. NginX
     •Resin Java Web Server Outperforms C-based
         NginX




Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
1 of 20

Recommended

Java EE Servlet JSP Tutorial- Cookbook 1 by
Java EE Servlet JSP Tutorial- Cookbook 1Java EE Servlet JSP Tutorial- Cookbook 1
Java EE Servlet JSP Tutorial- Cookbook 1billdigman
8.8K views49 slides
Java EE Servlet/JSP Tutorial- Cookbook 2 by
Java EE Servlet/JSP Tutorial- Cookbook 2Java EE Servlet/JSP Tutorial- Cookbook 2
Java EE Servlet/JSP Tutorial- Cookbook 2billdigman
5.7K views26 slides
Alfresco monitoring with Nagios and ELK stack by
Alfresco monitoring with Nagios and ELK stackAlfresco monitoring with Nagios and ELK stack
Alfresco monitoring with Nagios and ELK stackCesar Capillas
1.4K views22 slides
Moving Gigantic Files Into and Out of the Alfresco Repository by
Moving Gigantic Files Into and Out of the Alfresco RepositoryMoving Gigantic Files Into and Out of the Alfresco Repository
Moving Gigantic Files Into and Out of the Alfresco RepositoryJeff Potts
2.8K views54 slides
Integrating multiple CDN providers at Etsy - Velocity Europe (London) 2013 by
Integrating multiple CDN providers at Etsy - Velocity Europe (London) 2013Integrating multiple CDN providers at Etsy - Velocity Europe (London) 2013
Integrating multiple CDN providers at Etsy - Velocity Europe (London) 2013Marcus Barczak
11.8K views98 slides
How Flipkart scales PHP by
How Flipkart scales PHPHow Flipkart scales PHP
How Flipkart scales PHPSiddhartha Reddy Kothakapu
144.5K views124 slides

More Related Content

What's hot

WebSocket protocol by
WebSocket protocolWebSocket protocol
WebSocket protocolKensaku Komatsu
3.7K views34 slides
Reactor grails realtime web devoxx 2013 by
Reactor grails realtime web   devoxx 2013Reactor grails realtime web   devoxx 2013
Reactor grails realtime web devoxx 2013Stéphane Maldini
4.2K views90 slides
Tips for going fast in a slow world: Michael May at OSCON 2015 by
Tips for going fast in a slow world: Michael May at OSCON 2015Tips for going fast in a slow world: Michael May at OSCON 2015
Tips for going fast in a slow world: Michael May at OSCON 2015Fastly
3.1K views86 slides
Profiling JavaScript Performance by
Profiling JavaScript PerformanceProfiling JavaScript Performance
Profiling JavaScript PerformanceFITC
458 views149 slides
Introduction to WebSockets by
Introduction to WebSocketsIntroduction to WebSockets
Introduction to WebSocketsGunnar Hillert
8.8K views87 slides
HyperLight Websites by
HyperLight WebsitesHyperLight Websites
HyperLight WebsitesFITC
504 views67 slides

What's hot(20)

Reactor grails realtime web devoxx 2013 by Stéphane Maldini
Reactor grails realtime web   devoxx 2013Reactor grails realtime web   devoxx 2013
Reactor grails realtime web devoxx 2013
Stéphane Maldini4.2K views
Tips for going fast in a slow world: Michael May at OSCON 2015 by Fastly
Tips for going fast in a slow world: Michael May at OSCON 2015Tips for going fast in a slow world: Michael May at OSCON 2015
Tips for going fast in a slow world: Michael May at OSCON 2015
Fastly3.1K views
Profiling JavaScript Performance by FITC
Profiling JavaScript PerformanceProfiling JavaScript Performance
Profiling JavaScript Performance
FITC458 views
Introduction to WebSockets by Gunnar Hillert
Introduction to WebSocketsIntroduction to WebSockets
Introduction to WebSockets
Gunnar Hillert8.8K views
HyperLight Websites by FITC
HyperLight WebsitesHyperLight Websites
HyperLight Websites
FITC504 views
Web frameworks don't matter by Tomas Doran
Web frameworks don't matterWeb frameworks don't matter
Web frameworks don't matter
Tomas Doran593 views
Simplify your integrations with Apache Camel by Kenneth Peeples
Simplify your integrations with Apache CamelSimplify your integrations with Apache Camel
Simplify your integrations with Apache Camel
Kenneth Peeples4.2K views
Using Apache Camel as AKKA by Johan Edstrom
Using Apache Camel as AKKAUsing Apache Camel as AKKA
Using Apache Camel as AKKA
Johan Edstrom6.2K views
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF) by Peter Lubbers
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)
Peter Lubbers27.4K views
Java Tech & Tools | Grails in the Java Enterprise | Peter Ledbrook by JAX London
Java Tech & Tools | Grails in the Java Enterprise | Peter LedbrookJava Tech & Tools | Grails in the Java Enterprise | Peter Ledbrook
Java Tech & Tools | Grails in the Java Enterprise | Peter Ledbrook
JAX London1.5K views
Introduction to Apache Camel by FuseSource.com
Introduction to Apache CamelIntroduction to Apache Camel
Introduction to Apache Camel
FuseSource.com6.5K views
Introduction to Apache Camel by Claus Ibsen
Introduction to Apache CamelIntroduction to Apache Camel
Introduction to Apache Camel
Claus Ibsen5.6K views
Torquebox OSCON Java 2011 by tobiascrawley
Torquebox OSCON Java 2011Torquebox OSCON Java 2011
Torquebox OSCON Java 2011
tobiascrawley562 views
Torquebox @ Raleigh.rb - April 2011 by tobiascrawley
Torquebox @ Raleigh.rb - April 2011Torquebox @ Raleigh.rb - April 2011
Torquebox @ Raleigh.rb - April 2011
tobiascrawley421 views
Event Driven Architecture with Apache Camel by prajods
Event Driven Architecture with Apache CamelEvent Driven Architecture with Apache Camel
Event Driven Architecture with Apache Camel
prajods7.1K views
HTML5 WebSocket Introduction by Marcelo Jabali
HTML5 WebSocket IntroductionHTML5 WebSocket Introduction
HTML5 WebSocket Introduction
Marcelo Jabali9.3K views
Pushing the web — WebSockets by Roland M
Pushing the web — WebSocketsPushing the web — WebSockets
Pushing the web — WebSockets
Roland M15.5K views

Similar to Resin Outperforms NginX

Nginx by
NginxNginx
NginxHemant Kumar Tiwary
312 views37 slides
Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI server by
Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI serverPyruvate, a reasonably fast, non-blocking, multithreaded WSGI server
Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI serverPloneFoundation
309 views64 slides
Varnish Cache by
Varnish CacheVarnish Cache
Varnish CacheMike Willbanks
5.1K views46 slides
Caching with Varnish by
Caching with VarnishCaching with Varnish
Caching with Varnishschoefmax
14K views29 slides
Fisl - Deployment by
Fisl - DeploymentFisl - Deployment
Fisl - DeploymentFabio Akita
934 views191 slides
Developing cacheable PHP applications - PHPLimburgBE 2018 by
Developing cacheable PHP applications - PHPLimburgBE 2018Developing cacheable PHP applications - PHPLimburgBE 2018
Developing cacheable PHP applications - PHPLimburgBE 2018Thijs Feryn
222 views111 slides

Similar to Resin Outperforms NginX(20)

Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI server by PloneFoundation
Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI serverPyruvate, a reasonably fast, non-blocking, multithreaded WSGI server
Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI server
PloneFoundation309 views
Caching with Varnish by schoefmax
Caching with VarnishCaching with Varnish
Caching with Varnish
schoefmax14K views
Fisl - Deployment by Fabio Akita
Fisl - DeploymentFisl - Deployment
Fisl - Deployment
Fabio Akita934 views
Developing cacheable PHP applications - PHPLimburgBE 2018 by Thijs Feryn
Developing cacheable PHP applications - PHPLimburgBE 2018Developing cacheable PHP applications - PHPLimburgBE 2018
Developing cacheable PHP applications - PHPLimburgBE 2018
Thijs Feryn222 views
Altitude SF 2017: Optimizing your hit rate by Fastly
Altitude SF 2017: Optimizing your hit rateAltitude SF 2017: Optimizing your hit rate
Altitude SF 2017: Optimizing your hit rate
Fastly905 views
Varnish, The Good, The Awesome, and the Downright Crazy by Mike Willbanks
Varnish, The Good, The Awesome, and the Downright CrazyVarnish, The Good, The Awesome, and the Downright Crazy
Varnish, The Good, The Awesome, and the Downright Crazy
Mike Willbanks6.5K views
Varnish, The Good, The Awesome, and the Downright Crazy. by Mike Willbanks
Varnish, The Good, The Awesome, and the Downright Crazy.Varnish, The Good, The Awesome, and the Downright Crazy.
Varnish, The Good, The Awesome, and the Downright Crazy.
Mike Willbanks2K views
OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S... by OpenNebula Project
OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S...OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S...
OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S...
OpenNebula Project465 views
How to ensure Presto scalability 
in multi use case by Kai Sasaki
How to ensure Presto scalability 
in multi use case How to ensure Presto scalability 
in multi use case
How to ensure Presto scalability 
in multi use case
Kai Sasaki4.2K views
Introduction to Infrastructure as Code & Automation / Introduction to Chef by All Things Open
Introduction to Infrastructure as Code & Automation / Introduction to ChefIntroduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to Chef
All Things Open1.6K views
Choosing A Proxy Server - Apachecon 2014 by bryan_call
Choosing A Proxy Server - Apachecon 2014Choosing A Proxy Server - Apachecon 2014
Choosing A Proxy Server - Apachecon 2014
bryan_call53.6K views
haproxy-150423120602-conversion-gate01.pdf by PawanVerma628806
haproxy-150423120602-conversion-gate01.pdfhaproxy-150423120602-conversion-gate01.pdf
haproxy-150423120602-conversion-gate01.pdf
Developing cacheable PHP applications - Confoo 2018 by Thijs Feryn
Developing cacheable PHP applications - Confoo 2018Developing cacheable PHP applications - Confoo 2018
Developing cacheable PHP applications - Confoo 2018
Thijs Feryn87 views
Rooting your internals - Exploiting Internal Network Vulns via the Browser Us... by Michele Orru
Rooting your internals - Exploiting Internal Network Vulns via the Browser Us...Rooting your internals - Exploiting Internal Network Vulns via the Browser Us...
Rooting your internals - Exploiting Internal Network Vulns via the Browser Us...
Michele Orru4.6K views
Intel & QLogic NIC performance test results v0.2 by David Pasek
Intel & QLogic NIC performance test results v0.2Intel & QLogic NIC performance test results v0.2
Intel & QLogic NIC performance test results v0.2
David Pasek175 views

Recently uploaded

Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... by
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...ShapeBlue
74 views18 slides
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ... by
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...ShapeBlue
83 views15 slides
Microsoft Power Platform.pptx by
Microsoft Power Platform.pptxMicrosoft Power Platform.pptx
Microsoft Power Platform.pptxUni Systems S.M.S.A.
67 views38 slides
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... by
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...ShapeBlue
82 views62 slides
"Surviving highload with Node.js", Andrii Shumada by
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada Fwdays
40 views29 slides
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online by
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineShapeBlue
102 views19 slides

Recently uploaded(20)

Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... by ShapeBlue
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue74 views
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ... by ShapeBlue
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
ShapeBlue83 views
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... by ShapeBlue
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
ShapeBlue82 views
"Surviving highload with Node.js", Andrii Shumada by Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays40 views
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online by ShapeBlue
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
ShapeBlue102 views
Business Analyst Series 2023 - Week 3 Session 5 by DianaGray10
Business Analyst Series 2023 -  Week 3 Session 5Business Analyst Series 2023 -  Week 3 Session 5
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10369 views
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson133 views
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... by ShapeBlue
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
ShapeBlue88 views
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by IttrainingIttraining
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... by ShapeBlue
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
ShapeBlue54 views
Igniting Next Level Productivity with AI-Infused Data Integration Workflows by Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software344 views
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... by ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue65 views
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... by ShapeBlue
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
ShapeBlue57 views
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue by ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
ShapeBlue96 views
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT by ShapeBlue
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
ShapeBlue91 views
Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely56 views

Resin Outperforms NginX

  • 1. Resin Java Web Server Outperforms C-based NginX Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 2. Open%Source,%Reliable%and%Lightweight% Java%EE%Applica;on%Server% RESIN PRO Web Profile Health System Cloud Support
  • 3. NginX 1.2.0 versus Resin 4.0.29 Performance Tests •The following will be covered: • Resin validation as the single best solution for web server and application server • Tools used in benchmark testing • httperf • AutoBench • Results from performance testing Resin 4.0.29 and NginX 1.2.0 Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 4. Resin outperforms NginX •Resin • Reputation as fast, lightweight and powerful Java application server •NginX • Known to be faster and more reliable under load than Apache HTTPD •Benchmark tests between Resin and NginX • Both yielded competitive figures • Resin leads testing with: • Fewer errors Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 5. Benchmark Tools • Industry standard tool and methodology • Httperf • httperf is tool produced by HP for measuring web server performance. The httperf tool supports HTTP/1.1 keepalives and SSL protocols. • AutoBench • a tool for automating a comparative benchmark test against two a web servers. • Runs httperf against each host. • Increases the number of requests per seconds on each iteration. • Delivers output in a format that can be easily consumed by spreadsheet tools. • The command autobenchd is used to run a daemon on client machines. • The autobench_admin command drives many clients to run test at same time by communicating with autobenchd. Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 6. Test Setup Overview •Configuration • The only change that was made was the worker_processes were set to 8 for NginX to improve Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 7. Hardware Software Specifications • Client HW/OS specs: • i7 4 core / 8 HT, 2.8 GHZ, 8Meg Cache, 8 GB RAM. • Ubuntu 12 / Linux Kernel 3.2.0-26-generic • Server HW specs: • i7 4 core / 8 HT, 2.8 GHZ, 8Meg Cache, 8 GB RAM. • Ubuntu 12 / Linux Kernel 3.2.0-26-generic • Test software • Autobench 2.1.1 • httperf 0.9.0 • Software under test: • Resin Pro 4.0.29 • nginx 1.2.0 Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 8. 0K Test - Command Line Arguments 0k.sh ./admin.sh 300000 2000 20000 1000 0k admin.sh autobench_admin --clients xen:4600,lancre:4600 --uri1 /file_$5.html --host1 ch_resin --port1 8080 --uri2 /file_$5.html --host2 ch_nginx --port2 80 --num_conn $1 --num_call 10 --low_rate $2 --high_rate $3 --rate_step $4 --timeout 3 --file out_con$1_start$2_end$3_step$4_$5.tsv (Above is used to setup 300,000 connections at a rate of 20,000 to 200,000 requests per second. Each iteration increases the rate by 10,000 from 20,000 to 200,000.) 0k.html html> <body> <pre></pre> </body> </html> Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 9. Resin 4.0.29 vs NginX 1.2.0 0K file - requests per second Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 10. Resin 4.0.29 vs NginX 1.2.0 0K file - Response Time Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 11. Resin 4.0.29 vs NginX 1.2.0 0K file - IO throughput Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 12. Resin 4.0.29 vs NginX 1.2.0 0K file - Errors Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 13. 1K Test - Command Line Arguments 1k.sh ./admin.sh 200000 1000 10000 250 1k admin.sh autobench_admin --clients xen.caucho.com:4600,lancre.caucho.com:4600 --uri1 /file_$5.html --host1 ch_resin --port1 8080 --uri2 /file_$5.html --host2 ch_nginx --port2 80 --num_conn $1 --num_call 10 --low_rate $2 --high_rate $3 --rate_step $4 --timeout 3 --file out_con$1_start$2_end$3_step$4_$5.tsv 1k.html html> <body> <pre> 0 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 1 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 2 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 3 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 4 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 5 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 6 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 7 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 8 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 9 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 </pre> </body> </html> Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 14. Resin 4.0.29 vs NginX 1.2.0 1K file - requests per second Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 15. Resin 4.0.29 vs NginX 1.2.0 1K file - Response Time Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 16. Resin 4.0.29 vs NginX 1.2.0 1K file - IO throughput Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 17. Resin 4.0.29 vs NginX 1.2.0 1K file - Errors Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 18. Resin 4.0.29 vs NginX 1.2.0 8K file - requests per second Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 19. Resin 4.0.29 vs NginX 1.2.0 64K file - requests per second Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • 20. Links •www.caucho.com •blog.caucho.com - Resin vs. NginX •Resin Java Web Server Outperforms C-based NginX Caucho Home | Contact Us | Caucho Blog | Wiki | Application Server

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n