压力测试rails web应用程序的最佳方法?

时间:2022-08-10 03:36:28

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

那里有什么好的(最好是免费的)工具吗?

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

他们能否提供准确的估算值,以反映应用程序上线时的生产结果?

7 个解决方案

#1


3  

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).

这绝对不是一个免费的解决方案,但webmetrics将完成工作。 (以及任何网站监控公司)。它们提供有关您网站性能的详尽报告,当您安排负载测试时,您可以指定要模拟的负载量(例如,模拟一次使用我的网站的2000个用户)。

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.

我不认为它会打破它并告诉你你的CPU使用情况等,因为他们从他们的服务器强调你的网站。

#2


10  

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

我个人会使用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.

如果你正在寻找一个更强大的东西,那么我认为Apache JMeter可能值得关注。 http://jmeter.apache.org/。同样,它是免费的,有点学习曲线,并且GUI有点重。

You might also want to take a look at this Q/A Performing a Stress Test on Web Application?

您可能还想看看这个Q / A在Web应用程序上执行压力测试?

#3


5  

WebLoad is open source:

WebLoad是开源的:

http://www.webload.org/

http://www.webload.org/

#4


4  

There's a good summary of tools here.

这里有一个很好的工具总结。

#5


3  

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

Rails附带了内置的性能测试:http://guides.rubyonrails.org/performance_testing.html

#6


2  

You can try Trample, it is load simulation tool here

你可以试试Trample,这里是负载模拟工具

#7


0  

If you want to visualize performance instead of just look at the numbers you might try Engulf. It's Open Source Software, distributed, and high-performance. http://engulf-project.org/#usage Disclaimer: It's a project I work on.

如果您想要显示性能而不是仅仅查看数字,您可以尝试使用Engulf。它是开源软件,分布式和高性能。 http://engulf-project.org/#usage免责声明:这是我工作的一个项目。

#1


3  

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).

这绝对不是一个免费的解决方案,但webmetrics将完成工作。 (以及任何网站监控公司)。它们提供有关您网站性能的详尽报告,当您安排负载测试时,您可以指定要模拟的负载量(例如,模拟一次使用我的网站的2000个用户)。

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.

我不认为它会打破它并告诉你你的CPU使用情况等,因为他们从他们的服务器强调你的网站。

#2


10  

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

我个人会使用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.

如果你正在寻找一个更强大的东西,那么我认为Apache JMeter可能值得关注。 http://jmeter.apache.org/。同样,它是免费的,有点学习曲线,并且GUI有点重。

You might also want to take a look at this Q/A Performing a Stress Test on Web Application?

您可能还想看看这个Q / A在Web应用程序上执行压力测试?

#3


5  

WebLoad is open source:

WebLoad是开源的:

http://www.webload.org/

http://www.webload.org/

#4


4  

There's a good summary of tools here.

这里有一个很好的工具总结。

#5


3  

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

Rails附带了内置的性能测试:http://guides.rubyonrails.org/performance_testing.html

#6


2  

You can try Trample, it is load simulation tool here

你可以试试Trample,这里是负载模拟工具

#7


0  

If you want to visualize performance instead of just look at the numbers you might try Engulf. It's Open Source Software, distributed, and high-performance. http://engulf-project.org/#usage Disclaimer: It's a project I work on.

如果您想要显示性能而不是仅仅查看数字,您可以尝试使用Engulf。它是开源软件,分布式和高性能。 http://engulf-project.org/#usage免责声明:这是我工作的一个项目。