SlideShare una empresa de Scribd logo
1 de 20
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

Más contenido relacionado

La actualidad más candente

Reactor grails realtime web devoxx 2013
Reactor grails realtime web   devoxx 2013Reactor grails realtime web   devoxx 2013
Reactor grails realtime web devoxx 2013
Stéphane Maldini
 
Profiling JavaScript Performance
Profiling JavaScript PerformanceProfiling JavaScript Performance
Profiling JavaScript Performance
FITC
 
HyperLight Websites
HyperLight WebsitesHyperLight Websites
HyperLight Websites
FITC
 
Web frameworks don't matter
Web frameworks don't matterWeb frameworks don't matter
Web frameworks don't matter
Tomas Doran
 
ActiveMQ Performance Tuning
ActiveMQ Performance TuningActiveMQ Performance Tuning
ActiveMQ Performance Tuning
Christian Posta
 
Introduction to Apache Camel
Introduction to Apache CamelIntroduction to Apache Camel
Introduction to Apache Camel
FuseSource.com
 
Torquebox OSCON Java 2011
Torquebox OSCON Java 2011Torquebox OSCON Java 2011
Torquebox OSCON Java 2011
tobiascrawley
 
Torquebox @ Raleigh.rb - April 2011
Torquebox @ Raleigh.rb - April 2011Torquebox @ Raleigh.rb - April 2011
Torquebox @ Raleigh.rb - April 2011
tobiascrawley
 
Pushing the web — WebSockets
Pushing the web — WebSocketsPushing the web — WebSockets
Pushing the web — WebSockets
Roland M
 

La actualidad más candente (20)

WebSocket protocol
WebSocket protocolWebSocket protocol
WebSocket protocol
 
Reactor grails realtime web devoxx 2013
Reactor grails realtime web   devoxx 2013Reactor grails realtime web   devoxx 2013
Reactor grails realtime web devoxx 2013
 
Tips for going fast in a slow world: Michael May at OSCON 2015
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
 
Profiling JavaScript Performance
Profiling JavaScript PerformanceProfiling JavaScript Performance
Profiling JavaScript Performance
 
Introduction to WebSockets
Introduction to WebSocketsIntroduction to WebSockets
Introduction to WebSockets
 
HyperLight Websites
HyperLight WebsitesHyperLight Websites
HyperLight Websites
 
Web frameworks don't matter
Web frameworks don't matterWeb frameworks don't matter
Web frameworks don't matter
 
Simplify your integrations with Apache Camel
Simplify your integrations with Apache CamelSimplify your integrations with Apache Camel
Simplify your integrations with Apache Camel
 
ActiveMQ Performance Tuning
ActiveMQ Performance TuningActiveMQ Performance Tuning
ActiveMQ Performance Tuning
 
Using Apache Camel as AKKA
Using Apache Camel as AKKAUsing Apache Camel as AKKA
Using Apache Camel as AKKA
 
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)
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)
 
Java Tech & Tools | Grails in the Java Enterprise | Peter Ledbrook
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
 
Introduction to Apache Camel
Introduction to Apache CamelIntroduction to Apache Camel
Introduction to Apache Camel
 
Introduction to Apache Camel
Introduction to Apache CamelIntroduction to Apache Camel
Introduction to Apache Camel
 
Torquebox OSCON Java 2011
Torquebox OSCON Java 2011Torquebox OSCON Java 2011
Torquebox OSCON Java 2011
 
Torquebox @ Raleigh.rb - April 2011
Torquebox @ Raleigh.rb - April 2011Torquebox @ Raleigh.rb - April 2011
Torquebox @ Raleigh.rb - April 2011
 
Event Driven Architecture with Apache Camel
Event Driven Architecture with Apache CamelEvent Driven Architecture with Apache Camel
Event Driven Architecture with Apache Camel
 
HTML5 WebSocket Introduction
HTML5 WebSocket IntroductionHTML5 WebSocket Introduction
HTML5 WebSocket Introduction
 
Pushing the web — WebSockets
Pushing the web — WebSocketsPushing the web — WebSockets
Pushing the web — WebSockets
 
HTML5 WebSockets
HTML5 WebSocketsHTML5 WebSockets
HTML5 WebSockets
 

Similar a Resin Outperforms NginX

Caching with Varnish
Caching with VarnishCaching with Varnish
Caching with Varnish
schoefmax
 
Varnish, The Good, The Awesome, and the Downright Crazy
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 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.
Varnish, The Good, The Awesome, and the Downright Crazy.
Mike Willbanks
 
Choosing A Proxy Server - Apachecon 2014
Choosing A Proxy Server - Apachecon 2014Choosing A Proxy Server - Apachecon 2014
Choosing A Proxy Server - Apachecon 2014
bryan_call
 
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...
Rooting your internals - Exploiting Internal Network Vulns via the Browser Us...
Michele Orru
 

Similar a Resin Outperforms NginX (20)

Nginx
NginxNginx
Nginx
 
Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI server
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
 
Varnish Cache
Varnish CacheVarnish Cache
Varnish Cache
 
Caching with Varnish
Caching with VarnishCaching with Varnish
Caching with Varnish
 
Fisl - Deployment
Fisl - DeploymentFisl - Deployment
Fisl - Deployment
 
Developing cacheable PHP applications - PHPLimburgBE 2018
Developing cacheable PHP applications - PHPLimburgBE 2018Developing cacheable PHP applications - PHPLimburgBE 2018
Developing cacheable PHP applications - PHPLimburgBE 2018
 
Altitude SF 2017: Optimizing your hit rate
Altitude SF 2017: Optimizing your hit rateAltitude SF 2017: Optimizing your hit rate
Altitude SF 2017: Optimizing your hit rate
 
Varnish, The Good, The Awesome, and the Downright Crazy
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
 
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.
Varnish, The Good, The Awesome, and the Downright Crazy.
 
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...
OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S...
 
Cdn cs6740
Cdn cs6740Cdn cs6740
Cdn cs6740
 
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
How to ensure Presto scalability 
in multi use case
 
Introduction to Infrastructure as Code & Automation / Introduction to Chef
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
 
Choosing A Proxy Server - Apachecon 2014
Choosing A Proxy Server - Apachecon 2014Choosing A Proxy Server - Apachecon 2014
Choosing A Proxy Server - Apachecon 2014
 
haproxy-150423120602-conversion-gate01.pdf
haproxy-150423120602-conversion-gate01.pdfhaproxy-150423120602-conversion-gate01.pdf
haproxy-150423120602-conversion-gate01.pdf
 
HAProxy
HAProxy HAProxy
HAProxy
 
Developing cacheable PHP applications - Confoo 2018
Developing cacheable PHP applications - Confoo 2018Developing cacheable PHP applications - Confoo 2018
Developing cacheable PHP applications - Confoo 2018
 
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...
Rooting your internals - Exploiting Internal Network Vulns via the Browser Us...
 
Nginx, PHP, Apache and Spelix
Nginx, PHP, Apache and SpelixNginx, PHP, Apache and Spelix
Nginx, PHP, Apache and Spelix
 
Intel & QLogic NIC performance test results v0.2
Intel & QLogic NIC performance test results v0.2Intel & QLogic NIC performance test results v0.2
Intel & QLogic NIC performance test results v0.2
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Último (20)

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

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

Notas del editor

  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