• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Resin Outperforms NginX
 

Resin Outperforms NginX

on

  • 2,338 views

www.caucho.com ...

www.caucho.com

Using industry standard tool and methodology, Resin Pro web server was put to the test versus Nginx, a popular web server with a reputation for efficiency and performance. Nginx is known to be faster and more reliable under load than the popular Apache HTTPD. Benchmark tests between Resin and Nginx yielded competitive figures, with Resin leading with fewer errors and faster response times. In numerous and varying tests, Resin handled 20% to 25% more load while still outperforming Nginx. In particular, Resin was able to sustain fast response times under extremely heavy load while Nginx performance degraded.

Statistics

Views

Total Views
2,338
Views on SlideShare
2,337
Embed Views
1

Actions

Likes
3
Downloads
14
Comments
1

1 Embed 1

https://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Love resin.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Resin Outperforms NginX Resin Outperforms NginX Presentation Transcript

  • Resin Java Web Server Outperforms C-based NginXCaucho 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.0Caucho 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 errorsCaucho 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 improveCaucho 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.0Caucho 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 secondCaucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • Resin 4.0.29 vs NginX 1.2.0 0K file - Response TimeCaucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • Resin 4.0.29 vs NginX 1.2.0 0K file - IO throughputCaucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • Resin 4.0.29 vs NginX 1.2.0 0K file - ErrorsCaucho 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 secondCaucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • Resin 4.0.29 vs NginX 1.2.0 1K file - Response TimeCaucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • Resin 4.0.29 vs NginX 1.2.0 1K file - IO throughputCaucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • Resin 4.0.29 vs NginX 1.2.0 1K file - ErrorsCaucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • Resin 4.0.29 vs NginX 1.2.0 8K file - requests per secondCaucho Home | Contact Us | Caucho Blog | Wiki | Application Server
  • Resin 4.0.29 vs NginX 1.2.0 64K file - requests per secondCaucho 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 NginXCaucho Home | Contact Us | Caucho Blog | Wiki | Application Server