测量 Web 应用程序会话资源消耗
我有一个使用 Wicket、Guice 和 JPA 创建的 Web 应用程序。我想就应用程序的资源消耗向我的客户提供建议,以便我也可以就购买最佳硬件向他提供建议。测量每个会话的内存和 CPU 消耗以及网络带宽要求的最佳方法是什么?是否有进行此类测量的工具?
I have this web application that i have created using Wicket, Guice and JPA. I would like to advise my clients on the resource consumption of the application so that i can also advice him on the optimum hardware to purchase. What is the best way of measuring the Memory and CPU consumption per session as well as the network bandwidth requirements? Area there tools for undertaking such measurements?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
jConsole 现在是标准 JDK 的一部分,并且可用于监控 JVM。当然,在测量任何重要的内容之前,您需要在应用程序上创建一些合理的负载。要具体加载,请查看 OpenSTA、Apache jMeter, ...
jConsole is now part of the standard JDK and can be used to monitor a JVM. Of course, you will need to create some reasonable load on your application before you measure anything significant. To crete load, have a look at projects like OpenSTA, Apache jMeter, ...