测量 Web 应用程序会话资源消耗

发布于 2024-09-25 12:25:07 字数 135 浏览 1 评论 0原文

我有一个使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ゃ人海孤独症 2024-10-02 12:25:07

jConsole 现在是标准 JDK 的一部分,并且可用于监控 JVM。当然,在测量任何重要的内容之前,您需要在应用程序上创建一些合理的负载。要具体加载,请查看 OpenSTAApache 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, ...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文