arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1006.1674cs.PF
收藏

透视黑盒:在监控资源约束下通过黑盒跟踪事务

Seeing Through Black Boxes : Tracking Transactions through Queues under Monitoring Resource Constraints

Animashree Anandkumar, Ting He, Chatschik Bisdikian, Dakshi Agrawal

摘要:

研究了分布式系统中事务处理的监控资源的最优分配问题。考虑了两种形式的监测信息,即,本地唯一的事务标识符以及每个处理队列处的事务的到达和离开时间戳。假定时间戳在所有队列处都可用,但是在没有标识符的情况下,仅允许不精确的跟踪,因为并行处理可能导致无序的离开。另一方面,标识符可以进行精确跟踪,但如果没有适当的仪器,则无法使用。给定一个仪器预算,只有一个队列的子集可以被选择用于产生标识符,而其余的队列必须诉诸于使用时间戳的不精确跟踪。然后,目标是优化分配仪器预算,以最大限度地提高整体跟踪精度。面临的挑战是,最优分配策略取决于在不同的队列,这具有复杂的依赖关系的到达和服务过程中,和排队纪律的基于时间戳的跟踪的准确性。我们提出了两个简单的分配算法,通过预测不同队列的基于时间戳的跟踪精度的顺序。我们推导出充分条件,通过随机比较队列的概念,使这些算法达到最优。仿真结果表明,我们的算法接近最优,即使参数偏离这些条件。

英文摘要:

The problem of optimal allocation of monitoring resources for tracking transactions progressing through a distributed system, modeled as a queueing network, is considered. Two forms of monitoring information are considered, viz., locally unique transaction identifiers, and arrival and departure timestamps of transactions at each processing queue. The timestamps are assumed available at all the queues but in the absence of identifiers, only enable imprecise tracking since parallel processing can result in out-of-order departures. On the other hand, identifiers enable precise tracking but are not available without proper instrumentation. Given an instrumentation budget, only a subset of queues can be selected for production of identifiers, while the remaining queues have to resort to imprecise tracking using timestamps. The goal is then to optimally allocate the instrumentation budget to maximize the overall tracking accuracy. The challenge is that the optimal allocation strategy depends on accuracies of timestamp-based tracking at different queues, which has complex dependencies on the arrival and service processes, and the queueing discipline. We propose two simple heuristics for allocation by predicting the order of timestamp-based tracking accuracies of different queues. We derive sufficient conditions for these heuristics to achieve optimality through the notion of stochastic comparison of queues. Simulations show that our heuristics are close to optimality, even when the parameters deviate from these conditions.

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

↑