测量应用程序性能
我想知道是否有一个工具可以跟踪应用程序性能。我想到的是一个可以监听应用程序发布的更新并注册性能指标的工具。即服务请求的时间,完成某个操作所需的时间。然后,该工具将汇总数据并衡量性能趋势。
I was wondering if there is a tool to keep track of application performance. What I have in mind is a tool that will listen for updates and register performance metrics published by an application. i.e. time to serve a request, time a certain operation took to finish. And this tool would then aggregate the data and measure performance trends.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您想从外部测量您的应用程序,则可以使用 RRDtool 来收集数据。
If you want to measure your application from outside, then you can use RRDtool to collect the data.
您可以将 slamd 用于用 Java 编写的 web 应用程序。
对于 Django,请使用 hotshot。
搜索探查器+您的语言、框架
You can use slamd for webapp written in Java.
For Django use hotshot.
Search for profiler + your language, framework
查看 HP SiteScope。它能够使用 Web 用户脚本驱动系统,监控后端的指标,甚至能够创建自定义 shell 脚本和数据库查询,并且能够针对这些组合数据集添加报告/警报逻辑成为你所需要的。
您可能会考虑的其他机制是使用 CURL 推出您自己的服务来推送信息,查询涉及的系统以提取指标或数据库信息,然后使用您自己的警报和报告界面。
那么它就变成了一个成本问题,你能否以比在公开市场上购买现有解决方案更少的钱来提高功能级别。
参考:
HP SiteScope Wiki 页面
Take a look at HP SiteScope. It's ability to drive the system with a Web User Script, to monitor the metrics on the backend, even to the extent of creation of custom shell scripts and database queries, plus the ability to add logic for report/alert against these combined data sets appears to be what you need.
Other mechanisms that you might consider would be a roll your own service using CURL to push information in, queries to the systems involved to pull metrics or database information and then your own interface for alerting and reporting.
Then it becomes a cost question, can you roll the level of functionality for less money than you can purchase an already existing solution on the open market.
Ref:
HP SiteScope Wiki Page