Best way to stress test a rails web app?

Are there any good (preferably free) tools out there?

Can they give accurate estimates that reflect production results when the app goes live?

Answers


This is definitely not a free solution, but webmetrics will get the job done. (As well as any website monitoring company in general). They give thorough reports on your web site's performance, and when you schedule load tests you can specify how much load you want to simulate (e.g. simulate 2000 users using my site at once).

I don't think it will break it down and tell you your CPU usage and such, as they stress your website from their servers.


I would personally go with Apache Bench http://httpd.apache.org/docs/2.0/programs/ab.html

It's free, straight forward to use and lightweight.

If you are looking for a something a little more robust then I think Apache JMeter might be worth looking at. http://jmeter.apache.org/. Again, it's free, a bit of a learning curve and has a GUI so a little heavier.

You might also want to take a look at this Q/A How do you stress test a web application?


WebLoad is open source:

http://www.webload.org/


There's a good summary of tools here.


Rails comes with performance testing built in: http://guides.rubyonrails.org/performance_testing.html


Need Your Help

Close iOS Keyboard by touching anywhere using Swift

ios swift uikeyboard

I have been looking all over for this but I can't seem to find it. I know how to dismiss the keyboard using Objective-C but I have no idea how to do that using Swift. Does anyone know?

Speed up cURL page login and scraping

php curl

I have a function that logins into a site and searches for a string in the following page. The process currently takes 10 seconds, but wanted to see if there was anything I could do to speed it up. I

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.