arXiv:2502.02430stat.MLcs.IR2025-02

利用噪声信号实现高效网页爬取,自动适应带宽变化。

A Scalable Crawling Algorithm Utilizing Noisy Change-Indicating Signals

  • 结合噪声侧信息,按最优策略调度爬取
  • 在任意时间窗口内稳定使用带宽,无突增
  • 无需集中计算,适合大规模部署

网页刷新爬取的目标是在有限带宽下保持网页缓存最新。假设每页的更新与请求事件分别服从独立泊松过程,Azar 等人(2018)推导出了最优调度策略。本文研究该问题的扩展:当存在各类侧信息(如站点地图、CDN 通知等)指示内容变更时,如何有效利用这些信息。但挑战在于:(i) 信号存在误报和漏报;(ii) 需对所有网页公平处理,无论其侧信息质量如何。本文提出一种可扩展的爬取算法,(i) 在温和假设下最优利用噪声信号;(ii) 可无需集中计算部署;(iii) 能以恒定总速率爬取,任意时间区间内无带宽突增,且在总带宽变化时能自动调整至新最优解,无需集中计算。实验充分验证了方法的通用性。

原文摘要 · Abstract (English)

Web refresh crawling is the problem of keeping a cache of web pages fresh, that is, having the most recent copy available when a page is requested, given a limited bandwidth available to the crawler. Under the assumption that the change and request events, resp., to each web page follow independent Poisson processes, the optimal scheduling policy was derived by Azar et al. 2018. In this paper, we study an extension of this problem where side information indicating content changes, such as various types of web pings, for example, signals from sitemaps, content delivery networks, etc., is available. Incorporating such side information into the crawling policy is challenging, because (i) the signals can be noisy with false positive events and with missing change events; and (ii) the crawler should achieve a fair performance over web pages regardless of the quality of the side information, which might differ from web page to web page. We propose a scalable crawling algorithm which (i) uses the noisy side information in an optimal way under mild assumptions; (ii) can be deployed without heavy centralized computation; (iii) is able to crawl web pages at a constant total rate without spikes in the total bandwidth usage over any time interval, and automatically adapt to the new optimal solution when the total bandwidth changes without centralized computation. Experiments clearly demonstrate the versatility of our approach.

爬虫优化分布式系统带宽管理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。