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

FastWARC:优化大规模Web归档分析

FastWARC: Optimizing Large-Scale Web Archive Analytics

Janek Bevendorff, Martin Potthast, Benno Stein

摘要:

Web搜索和其他大规模Web数据分析依赖于以标准化和高效格式存储的网页处理存档。自2008年推出以来,IIPC的Web ARCive(WARC)格式已成为此目的的标准格式。作为HTTP请求和响应的单独压缩记录的列表,它允许通过许多程序设计语言中的现成开源解析器对各种Web数据进行恒定时间随机访问,例如WARCIO,Python的事实标准。然而,当处理TB或PB级的Web存档时,这些工具中即使是很小的效率低下也会迅速增加,导致数小时、数天甚至数周的计算时间浪费。回顾WARCIO的基本组件并分析其瓶颈,我们继续构建FastWARC,这是一个新的高性能WARC处理库,用于Python,用C++/Cython编写,其性能提高了1.6- 8倍。

英文摘要:

Web search and other large-scale web data analytics rely on processing archives of web pages stored in a standardized and efficient format. Since its introduction in 2008, the IIPC's Web ARCive (WARC) format has become the standard format for this purpose. As a list of individually compressed records of HTTP requests and responses, it allows for constant-time random access to all kinds of web data via off-the-shelf open source parsers in many programming languages, such as WARCIO, the de-facto standard for Python. When processing web archives at the terabyte or petabyte scale, however, even small inefficiencies in these tools add up quickly, resulting in hours, days, or even weeks of wasted compute time. Reviewing the basic components of WARCIO and analyzing its bottlenecks, we proceed to build FastWARC, a new high-performance WARC processing library for Python, written in C++/Cython, which yields performance improvements by factors of 1.6-8x.

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

↑