如何对新的 Java Web 应用程序进行负载测试?
两个月内,我们就开始使用从头开始编码的网络系统。我们预计当前的用户注册率(1000/天)将保持不变,并且系统将呈现极低的延迟。尽管如此,我们不知道如何衡量:
- 新代码库中的性能瓶颈
- ,可能会出现最大并发用户数的并发问题
- 在维持我们接受的 QoS 的同时
我们的技术堆栈是:Spring 3、Hibernate、iBatis、Velocity、Polopoly CMS 和 Oracle RAC。
谁能分享他/她在 Web 应用程序负载测试方面的经验吗?任何指向教程的指示也将非常受欢迎!
Within two months were are going live with a web system coded from scratch. We expect that the current user registration rate (1000/day) will maintain and that the system will present extremely low latency. Though, we do not have the knowledge on how to measure:
- performance bottlenecks in the new code base
- concurrency issues that may arise
- maximum number of concurrent users while maintaining our accepted QoS
Our technology stack is: Spring 3, Hibernate, iBatis, Velocity, Polopoly CMS and Oracle RAC.
Can anyone share his/her experience in load testing a web application? Any pointers to tutorials would also be very much welcome!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们使用 Grinder 来生成负载,开源且免费。负载测试是用jyhton编写的,非常灵活。
然后我们使用 YourKit 作为分析器来查找处理和内存热点等。
这种组合对我们来说非常有效。
We have used Grinder for generating load, open source and free. Load tests are written in jyhton, very flexible.
Then we use YourKit as a profiler to find processing and memory hotspots, and more.
This combination has worked very well for us.