Skip to main content
QUICK REVIEW

[论文解读] Capacity Planning for Vertical Search Engines

Claudine Badué, Jussara M. Almeida|arXiv (Cornell University)|Jun 25, 2010
Web Data Mining and AnalysisComputer Science参考文献 44被引用 16
一句话总结

本文提出了一种基于排队网络的垂直搜索引擎容量规划模型,通过考虑同构索引服务器间的服务时间不平衡,能够准确预测查询响应时间。该模型通过真实工作负载特征分析和小规模实验验证,使管理员无需实际测试即可估算硬件升级或缓存策略对性能的影响,为系统规模设计提供一种实用且保守的上限预测工具。

ABSTRACT

Vertical search engines focus on specific slices of content, such as the Web of a single country or the document collection of a large corporation. Despite this, like general open web search engines, they are expensive to maintain, expensive to operate, and hard to design. Because of this, predicting the response time of a vertical search engine is usually done empirically through experimentation, requiring a costly setup. An alternative is to develop a model of the search engine for predicting performance. However, this alternative is of interest only if its predictions are accurate. In this paper we propose a methodology for analyzing the performance of vertical search engines. Applying the proposed methodology, we present a capacity planning model based on a queueing network for search engines with a scale typically suitable for the needs of large corporations. The model is simple and yet reasonably accurate and, in contrast to previous work, considers the imbalance in query service times among homogeneous index servers. We discuss how we tune up the model and how we apply it to predict the impact on the query response time when parameters such as CPU and disk capacities are changed. This allows a manager of a vertical search engine to determine a priori whether a new configuration of the system might keep the query response under specified performance constraints.

研究动机与目标

  • 解决垂直搜索引擎中昂贵且不切实际的实验性性能预测问题。
  • 开发一种简单但准确的性能模型,以捕捉索引服务器间查询服务时间不平衡的影响。
  • 通过使用易于收集的性能数据,实现无需实际实验即可进行容量规划决策。
  • 评估硬件升级(CPU、磁盘、内存)以及应用层缓存对响应时间的影响。
  • 为大规模部署规划提供系统响应时间的保守上限估计。

提出的方法

  • 使用两个生产系统的真实查询日志,对真实世界的垂直搜索引擎工作负载进行特征分析,研究查询/词条流行度、到达时间间隔和处理时间。
  • 基于指数分布的到达时间和处理时间,构建排队网络模型,并引入每查询在索引服务器间的服务时间不平衡因素。
  • 在一组索引服务器集群上进行小规模实验,校准关键参数。
  • 利用校准后的模型预测不同配置下的系统响应时间,包括硬件升级和缓存策略。
  • 将模型预测结果与实际测量值对比验证,即使在系统饱和状态下仍表现出高精度。
  • 将模型应用于估算大规模部署(例如,在100台索引服务器上处理10亿篇文档)下的响应时间上限。

实验结果

研究问题

  • RQ1同构索引服务器间的服务时间不平衡如何影响垂直搜索引擎的整体查询响应时间?
  • RQ2是否可以使用一种简单的排队网络模型准确预测系统响应时间,而无需实际运行系统实验?
  • RQ3提升CPU速度、磁盘速度或主内存容量对垂直搜索引擎中查询响应时间有何影响?
  • RQ4在代理服务器处实施应用层缓存查询结果在减少响应时间方面的效果如何?
  • RQ5该模型能否在不同工作负载和配置下提供可靠的响应时间上限估计?

主要发现

  • 当使用小规模实验数据进行校准后,所提出的模型即使在系统饱和状态下,也能高精度预测平均查询响应时间。
  • 索引服务器间的服务时间不平衡会显著降低平均响应时间,而本模型比以往工作更准确地捕捉了这一效应。
  • 在代理服务器处实施应用层缓存可显著降低响应时间,使更少的索引服务器即可支持更高的查询到达率(例如,200个查询/秒)。
  • 在启用缓存的情况下,由300台索引服务器(100台服务器的3个副本)组成的集群可支持每秒200个查询,平均响应时间为282毫秒。
  • 该模型能够提供保守的响应时间上限估计,适用于无需实际测试的成本效益高的容量规划。
  • 该模型结构简单,且依赖于易于采集的数据,因此在大型企业搜索系统中具有实际部署和决策支持的可行性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。