首页> 外文期刊>Zeitschrift fur Arznei- und Gewurzpflanzen >Log4Perf: suggesting and updating logging locations for web-based systems' performance monitoring
【24h】

Log4Perf: suggesting and updating logging locations for web-based systems' performance monitoring

机译:log4perf:建议和更新基于Web的系统性能监控的日志记录位置

获取原文
获取原文并翻译 | 示例
           

摘要

Performance assurance activities are an essential step in the release cycle of software systems. Logs have become one of the most important sources of information that is used to monitor, understand and improve software performance. However, developers often face the challenge of making logging decisions, i.e., neither logging too little and logging too much is desirable. Although prior research has proposed techniques to assist in logging decisions, those automated logging guidance techniques are rather general, without considering a particular goal, such as monitoring software performance. In this paper, we present Log4Perf, an automated approach that provides suggestions of where to insert logging statement with the goal of monitoring web-based systems' CPU usage. In the first part of our approach, we leverage the performance model's prediction errors to suggest the need for updating logging locations when software evolves. In the second part of our approach, we build and manipulate a statistical performance model to identify the locations in the source code that statistically significantly influence CPU usage. To evaluate Log4Perf, we conduct case studies on two open source systems, i.e., CloudStore and OpenMRS, and one large-scale commercial system. Our evaluation results show that our approach can suggest the need for updating logging locations and identify the logging locations that can be kept unchanged. We manually examine the logging locations that are newly suggested or deprecated. We find that our approach can build well-fit statistical performance models, indicating that such models can be leveraged to investigate the influence of locations in the source code on performance. The suggested logging locations are often in small and simple methods that do not have logging statements, and are not performance hotspots. Our approach can be used to complement traditional approaches that are based on software metrics or performance hotspots. In addition, we identify seven root-causes of these suggested or deprecated logging locations. Log4Perf is integrated into the release engineering process of the commercial software to provide logging suggestions on a regular basis.
机译:性能保证活动是软件系统发布周期的重要步骤。日志已成为用于监视,理解和提高软件性能的最重要信息来源之一。然而,开发人员经常面临挑战,即进行测井决策,即,既不是伐木太少和记录太多是可取的。尽管先前的研究已经提出了协助测量决策的技术,但是那些自动测井指导技术是相当一般的,而不考虑特定目标,例如监控软件性能。在本文中,我们呈现了Log4perf,这是一种自动方法,它提供了在将日志记录语句插入到何处的建议,以监视基于Web的系统的CPU使用率的目标。在我们的方法的第一部分中,我们利用了性能模型的预测错误,以表明软件演变时需要更新日志记录位置。在我们的方法的第二部分中,我们构建和操作统计性能模型,以确定统计上显着影响CPU使用情况的源代码中的位置。为了评估Log4perf,我们对两个开源系统,即CloudStore和OpenMR进行案例研究,以及一个大规模的商业系统。我们的评估结果表明,我们的方法可以建议需要更新日志记录位置并标识可以保持不变的日志记录位置。我们手动检查新建议或弃用的日志记录位置。我们发现我们的方法可以建立良好的统计性能模型,表明可以利用这些模型来研究源代码在源代码上的位置的影响。建议的日志记录位置通常是小而简单的方法,没有记录语句,并且不是性能热点。我们的方法可用于补充基于软件度量或性能热点的传统方法。此外,我们识别这些建议或已弃用的日志记录位置的七个根本原因。 Log4Perf被集成到商业软件的发布工程过程中,以定期提供日志记录建议。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号