Benchmarking Rails for Applications / Web Servers

Does anyone know the best lightweight Rails benchmarking tool?

I need to get web server performance statistics and simulate authentication + page navigation per session. I tried to use httperf, but met a TamperingWithCookie exception in the application.

Ideally, I would like to separate the application and the database from the benchmarking of the web server, but it is interesting to see the results of their combination.

+3
source share
4 answers

You can try Tsung , a distributed load testing tool written in Erlang. This is a common tool, but it can be easily used with Rails applications. If you need to model different user behavior scenarios as a kind of integration tests, you can also try Webrat .

+3
source

ruby-prof works well if you manually hit your application using a browser or you can compare tests.

here is a great entry on how to use it: http://cfis.savagexi.com/2007/07/18/making-rails-go-vroom

and here where you can download it: http://rubyforge.org/projects/ruby-prof/

+1
source

, -, MS WAS , .

0

abis an Apache benchmarking tool. You probably won't care about authentication, but are easy to use:

ab -n 300 -c 20 http://website.com

0
source

Source: https://habr.com/ru/post/1706486/


All Articles