简体   繁体   English

Web应用程序性能测试监视的工具/建议

[英]tool/suggestions for web application performance test monitoring

I have a web application distributed over different logical and physical layers. 我有一个分布在不同逻辑和物理层的Web应用程序。

The application is written in php5.3 and uses postgresql version 8.3. 该应用程序是用php5.3编写的,并使用PostgreSQL版本8.3。

The web front layer has a dedicated machine and is composed of apache htppd 2 webserver running the php engine. Web前端层有一台专用计算机,由运行php引擎的apht htppd 2 Web服务器组成。

The db layer has another dedicated machine running postgresql. db层还有另一台运行postgresql的专用计算机。 The databases data are stored on machine local file system. 数据库数据存储在计算机本地文件系统上。

The two layer (web and db) communicate over a 1gbps private network. 两层(Web和db)通过1gbps专用网络进行通信。

I need to setup a execute a performance test on my web application as a whole and the split the test on the single layers (db and web) 我需要在整个Web应用程序上设置一个执行性能测试,然后在单层(数据库和Web)上拆分测试

Do you know any tool/best practice for such a kind of test? 您知道进行此类测试的任何工具/最佳做法吗?

Any help is appreciated Thanks Regards Alberto 感谢您的任何帮助,谢谢您

In addition to benchmarking with tools like ab and webbench , you should set up load monitoring tools that watch interface traffic, CPU and disk activity, etc. Pick one of the many RRDTool front-ends and build some graphs, so that you can see what spikes while you run your load test. 除了使用abwebbench之类的工具进行基准测试之外 ,您还应该设置负载监视工具来监视接口流量,CPU和磁盘活动等。选择许多RRDTool前端之一并构建一些图形,以便可以看到什么。运行负载测试时出现峰值。 If you see any curves with flat tops, those are your problem areas. 如果您看到任何带有平顶的曲线,那就是您的问题所在。 :-) :-)

Check out Cacti , Munin , and others from RRD World . 从RRD World查看CactiMunin其他人

I like Cacti's user interface, and its auto-discovery is pretty handy. 我喜欢Cacti的用户界面,它的自动发现非常方便。 But it can be tricky to keep working, and it has a lot of dependencies. 但是继续工作可能很棘手,而且它有很多依赖性。 Munin is small, slick and reliable, but requires more hand-holding to configure. Munin体积小,光滑且可靠,但需要更多的手动才能进行配置。

Apache JMeter is also good and produces nice graphs . Apache JMeter也很好,并且可以生成漂亮的图形 It can be used to test web applications and databases, amongst others. 它可以用于测试Web应用程序和数据库等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM