Web应用程序中性能问题的自动原因检测
Automatic Cause Detection of Performance Problems in Web Applications
摘要:
类似单元的执行可以通过其内部行为进行比较,以确定其潜在性能问题的原因。例如,通过更仔细地检查不同的快速或慢速Web请求的内部行为,并通过聚类和比较它们的内部执行,可以确定是什么原因导致某些请求运行缓慢或以意想不到的方式运行。在本文中,我们提出了一种提取Web请求的内部行为的方法,并引入了一个管道来检测Web请求中的性能问题,并深入了解其根本原因。首先,通过跟踪用户空间和内核空间来收集关于每个请求的低级别和细粒度信息。第二,提取进一步的信息并将其馈送到离群值检测器中。最后,这些离群值然后按其行为进行聚类,并单独分析每组。实验表明,该管道确实能够检测到缓慢的Web请求,并提供对其真正根本原因的额外见解。值得注意的是,我们能够使用所提出的方法识别真正的PHP缓存争用。
英文摘要:
The execution of similar units can be compared by their internal behaviors to determine the causes of their potential performance issues. For instance, by examining the internal behaviors of different fast or slow web requests more closely and by clustering and comparing their internal executions, one can determine what causes some requests to run slowly or behave in unexpected ways. In this paper, we propose a method of extracting the internal behavior of web requests as well as introduce a pipeline that detects performance issues in web requests and provides insights into their root causes. First, low-level and fine-grained information regarding each request is gathered by tracing both the user space and the kernel space. Second, further information is extracted and fed into an outlier detector. Finally, these outliers are then clustered by their behavior, and each group is analyzed separately. Experiments revealed that this pipeline is indeed able to detect slow web requests and provide additional insights into their true root causes. Notably, we were able to identify a real PHP cache contention using the proposed approach.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。