arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1007.4057cs.DC
收藏

面向黑盒多层服务的精确、可扩展和在线请求跟踪

Precise, Scalable and Online Request Tracing for Multi-tier Services of Black Boxes

Bo Sang, Jianfeng Zhan, Zhihong Zhang, Lei Wang, Dongyan Xu, Yabing Huang, Dan Meng

摘要:

随着越来越多的多层服务由商业现成组件或异构中间件开发而成,开发人员和管理员都需要一个请求跟踪工具来(1)准确地知道感兴趣的用户请求是如何通过黑盒服务的;(2)在不需要淹没在大量日志中的情况下获得服务的宏观级别的用户请求行为信息。以往的研究工作要么接受概率相关方法的不精确性,要么提出精确但不可扩展的跟踪方法,必须收集和分析大量的日志;此外,以前的精确的黑盒请求跟踪方法未能提出宏观层次的抽象,使调试性能在大的,因此用户必须手动解释大量的日志。本文介绍了一个精确的,可扩展的和在线的请求跟踪工具,命名为PreciseTracer,黑盒的多层服务。我们的贡献有四个方面:第一,我们提出了一个精确的黑盒多层服务的请求跟踪算法,它只使用应用无关的知识;第二,我们分别提出了微观和宏观层面的抽象:组件活动图和支配因果路径模式来表示每个单独的请求的因果路径和重复执行的因果路径,占显着分数;第三,我们提出了两种机制:按需跟踪和采样,以显着提高系统的可扩展性;第四,我们设计并实现了一个在线请求跟踪工具。PreciseTracer的快速响应,低开销和可扩展性使其成为大规模生产系统的有前途的跟踪工具。

英文摘要:

As more and more multi-tier services are developed from commercial off-the-shelf components or heterogeneous middleware without source code available, both developers and administrators need a request tracing tool to (1) exactly know how a user request of interest travels through services of black boxes; (2) obtain macro-level user request behavior information of services without the necessity of inundating within massive logs. Previous research efforts either accept imprecision of probabilistic correlation methods or present precise but unscalable tracing approaches that have to collect and analyze large amount of logs; Besides, previous precise request tracing approaches of black boxes fail to propose macro-level abstractions that enables debugging performance-in-the-large, and hence users have to manually interpret massive logs. This paper introduces a precise, scalable and online request tracing tool, named PreciseTracer, for multi-tier services of black boxes. Our contributions are four-fold: first, we propose a precise request tracing algorithm for multi-tier services of black boxes, which only uses application-independent knowledge; second, we respectively present micro-level and macro-level abstractions: component activity graphs and dominated causal path patterns to represent causal paths of each individual request and repeatedly executed causal paths that account for significant fractions; third, we present two mechanisms: tracing on demand and sampling to significantly increase system scalability; fourth, we design and implement an online request tracing tool. PreciseTracer's fast response, low overhead and scalability make it a promising tracing tool for large-scale production systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑