Lowest Cost Cloud Load Testing Tool

Performance Benchmarks on Web Servers

performance of web serversI was reading a post about how the performance of Apache wasn't quite as good as Nginx, but I got sidetracked by a link on the article that lead me to a broader study that was interesting. An informative performance benchmark comparison was published on http://www.trustleap.com/ where the author concludes that G-WAN running on Linux using a C language-based application has unbelievably better performance than any of the other tested combinations.

First, let me say that I love seeing the metrics. Second, I would love to run a test like this with LoadStorm. Third, my inner geek cynic kicked in as soon as I realized that TrustLeap is the producer of G-WAN. Maybe these numbers are suspect because of their source, however I want to share them with you.


Comparing Apache/Linux, GlassFish/Linux, IIS/Windows, and G-WAN/Windows & Linux

performance Apache web serverThe data has some aspects that I cannot fully understand, but I focused on the first graph that shows all five combinations of web server, operating system, and language. It displays performance metrics of concurrent users and requests per second registered at the failure point for each. There is also a graph depicting the CPU utilization for each tested system as well.

I put these in a table to easier see the summary for comparison purposes:

Server/OS/language Users RPS CPU Index
G-Wan/Linux/C 1,000 7800 10% 10
G-Wan/Windows/C 750 782 10% 6
Apache/Linux/PHP 340 488 100% 5
Glassfish/Linux/JSP 690 2 94% 4
IIS/Windows/C# 5 4 88% 1

I realize there can be many factors that affect web performance, and I understand that tuning each could make significant improvements in the ability to support requests. Still, these are astounding numbers! I've never seen a web app that can handle nearly 8,000 RPS with 1,000 concurrent users and only use about 10% of the CPU. It would be nice to see how much memory is consumed, but it probably doesn't matter...if these numbers are accurate. My goodness! That's tremendously efficient processing.

We use Apache running on Linux, and our LoadStorm application is written in Java. So I guess I should be telling our system architects to do some benchmarking our own load testing tool's performance on G-WAN. This data shows that Apache/Linux/PHP performs well, or at least about average. Glassfish/Linux/JSP is about average as well. That seems reasonable to me.

performance of Windows/IISThis data points to IIS 7.0/Windows/C# as the slowest combination. I wonder if Microsoft has some different data. It just appears to have such an abysmal performance compared to the others that it makes me skeptical of the whole data set. Still, I find the study quite interesting in light of the other comparison benchmarks.

The author submits that G-WAN has such better performance because it does not starve the kernel of the OS. In the article there are points made about saving money and space due to fewer servers, which is more green (energy consumption) as well. The author claims that Java, C# or PHP's footprint are in the 80-200 MB range, while IIS 7.0+C# is about 1 GB. I'm not sure about that, but if it is true it definitely points to enormous cost savings.

Conclusion

performance of G-WanPerformance benchmarks are useful information for web geeks like me that want to squeeze as much speed as possible out of our web applications. Making the right choice for the operating system and web server is all about picking the fastest set up. However, if my application code is agnostic to the platform, then why wouldn't I go with the environment that produces the best performance metrics? Speed is money, and there are performance testing statistics to prove it.

Comments

Your "benchmarks" are typical

Your "benchmarks" are typical anti "M$" propaganda. Real benchmarks are nearly the opposite of what you're saying.

We're talking the difference between a company with an actual business-need and invented interest in improving performance, that's PAYING some of the best developers in the world to develop their web server software, versus a band of mostly unpaid volunteers...

4 requests per second? Get real.

I have to

I have to agree.

IIS/Windows/C# 5 4 88% 1

Good job on fucking up that Windows server, I wonder how you did that, 88% usage on 4 requests, guess you got some bad and nasty loops in your code.

Not my data! Hey, just for

Not my data!

Hey, just for the record...

LoadStorm didn't do these benchmarks. I'm just writing about data published by other people.

Does anyone have good benchmark data for IIS? I'm not anti-Microsoft and would appreciate some balance from someone that is pro-MS. Please post the URL(s) here and I'll write it up on our blog.

Feel free to post your own benchmark results here too.

Interesting. This independent

Interesting. This independent test confirmed that G-WAN is faster than all others.

Here, it was compared to Web servers and even Web accelerators:

http://nbonvin.wordpress.com/2011/03/24/serving-small-static-files-which...

Requests per sec. .. Server .................... Type of Server

------------------------------------------------------------------------------------------

142,000 ............ G-WAN ............................ (a Web Application server)

.. 80,000 ............ Nginx ............................... (a Web server)

.. 60,000 ............ Lighttpd ........................... (a Web server)

.. 52,000 ............ Apache Traffic Server ... (Yahoo!'s "Web accelerator")

.. 28,000 ............ Varnish ............................ (Facebook's "Web accelerator")

As G-WAN's C scripts are compiled on-the-fly (like Zend PHP, C# or Java), if they are faster, that's probably because their implementation has received the same level of attention that G-WAN received as a Web server.

For IIS' footprint (as compared to G-WAN's 200 KB), here are Microsoft references:

"a base Server Core installation needs only about 1.6 gigabytes (GB) of disk space"
(measuring the front user-mode process is clueless as IIS is implemented in the kernel)
http://technet.microsoft.com/en-us/library/dd184076.aspx

"the minimal static workload on Windows Server 2008 with 508 Mb of memory used"
http://mvolo.com/blogs/serverside/archive/2008/06/17/Make-your-next-IIS-...

And when you load .Net on the top of that... you get the picture.

On a CPU with 6 cores G-WAN

On a CPU with 6 cores G-WAN serves 750,000 HTTP requests per second while Nginx and Lighttpd serve around 200,000 requests per second:

Wow, with the G-WAN server scaling so well, multi-Core CPUs make a lot of sense!

The whole test is published here:

http://forum.gwan.com/index.php?p=/discussion/525/nginx1.0.6-vs-lighttpd...

Thanks Jeremy. Nice graph,

Thanks Jeremy. Nice graph, but I'm not sure it makes sense to me. Each line essential is showing how RPS remains relatively static while concurrent users increases from 0 to 1,000. It seems to me that the X-axis is labeled incorrectly - is it actually TIME? And if so, then are the number of users actually not concurrent; rather, they are total users as some virtual users are retired and replaced with others?

Need a little help with this. Still, I like to see benchmark data like this and welcome your contribution to our blog to share it. Would you like to be a guest blogger sometime? If so, please send an email to .

Admin, > "It seems to me that

Admin,

> "It seems to me that the X-axis is labeled incorrectly - is it actually TIME?"

No. It is labelled correctly: this is the number of concurrent users (aka "concurrency").

> "then are the number of users actually not concurrent?"

No, they are concurrent. It makes sense to test SMP servers with concurrency.

> "Need a little help with this."

Please see the documentation of ApacheBenchmark, or Lighttpd's Weighttp (which shares the same syntax, with the added benefit of being multi-thread while AB is single-threaded).

Hope this helps.

Storm on Demand - Pay Per Test

Storm on Demand Users Cost
1,000 $39.90
5,000 $199.50
10,000 $399.00
25,000 $997.50
50,000 $1,995.00
100,000 $3,990.00
200,000 $7,980.00

performance testing sign upIt's easy. You can be load testing in 15 minutes.

  1. Click the "Free Account" button.
  2. Enter your name & email address.
  3. Click the confirmation link in an email.
  4. Create a test scenario for your site.
  5. Run a load test.
  6. Analyze the test results.
  7. Send us a testimonial because you are amazed!

Customers love our load testing tool

“We needed an easy & cost effective way to load test our Windows Azure solution. Thanks to LoadStorm - highly recommended!” - Jonas Stawski, Microsoft MVP

"LoadStorm is a very useful tool." Alan Cheung, Manager - Technical Services, Dow Jones Publishing Company

"It has been a pleasure to work with LoadStorm." - Mike Compton, V.P. of I.T., Hearst Business Media

"Load-testing in the cloud was a great solution and LoadStorm a dream partner. " - Julie Hansen, COO, Publisher, The Business Insider

"There was no risk because I knew what the tool would provide before spending a dime. LoadStorm is a great tool." - Richard Ertman, QA/Release Manager, PETA

"I am definitely a fan of LoadStorm. I like its ease-of-use and the way in which the solution scales." - Darin Creason, Sr. Software Engineer, TransCore Corp

Want a Live Demo? Have Questions?

Please feel free to contact us:

(970) 389-1899

We are eager to help you with LoadStorm in any way that you need.