AI News AI资讯 4h ago Updated 1h ago 更新于 1小时前 42

Creepy crawlies 令人毛骨悚然的爬虫

Abusive web crawlers generate so much traffic that git.kernel.org spends more CPU cycles rendering commits as HTML for scrapers than on all legitimate access combined At any given time, 14 CPU cores across 5 geo-distributed nodes are exclusively dedicated to rendering git commits as HTML for these crawlers The problem is described as "background radiation" — a persistent, low-grade but resource-intensive form of crawler abuse The issue extends beyond Git infrastructure, with similar concerns rai Linux内核官方Git仓库面临严重的恶意爬虫滥用问题,"背景辐射"式爬虫流量已超出正常维护能力 渲染commit给爬虫使用的CPU资源已超过所有合法访问(包括git clone)的总和 在5个地理分布节点上,有14个CPU核心专门用于将git commits渲染为HTML,完全浪费在爬虫服务上 开源基础设施维护者面临爬虫滥用带来的资源消耗和可持续性挑战

58
Hot 热度
68
Quality 质量
55
Impact 影响力

Analysis 深度分析

TL;DR

  • Abusive web crawlers generate so much traffic that git.kernel.org spends more CPU cycles rendering commits as HTML for scrapers than on all legitimate access combined
  • At any given time, 14 CPU cores across 5 geo-distributed nodes are exclusively dedicated to rendering git commits as HTML for these crawlers
  • The problem is described as "background radiation" — a persistent, low-grade but resource-intensive form of crawler abuse
  • The issue extends beyond Git infrastructure, with similar concerns raised for Datasette, a tool serving a large number of crawlable web pages

Why It Matters

The escalating cost of serving abusive crawlers represents a growing operational burden for open-source infrastructure and public-facing data platforms. As AI companies increasingly scrape repositories and datasets for training data, the resource imbalance between legitimate users and automated scrapers threatens the sustainability of critical open-source projects.

Technical Details

  • git.kernel.org operates 5 geo-distributed nodes, with 14 CPU cores simultaneously dedicated solely to HTML rendering of git commits for crawler traffic
  • The infrastructure serves both legitimate users (git clones, etc.) and automated scrapers, with scraper traffic consuming disproportionate compute resources
  • The problem is not limited to Git hosting; Datasette, a tool for serving crawlable web pages from datasets, faces similar scalability and resource concerns
  • The "background radiation" metaphor suggests this is a persistent, ambient problem rather than sporadic attacks, making it difficult to mitigate with traditional rate-limiting or blocking approaches

Industry Insight

  • Open-source infrastructure maintainers should consider implementing stricter crawler policies, API-based access, or paid tiers to protect resources for legitimate users
  • AI companies relying on large-scale web scraping should anticipate increasing costs and friction as infrastructure providers push back against abusive crawling patterns
  • The trend signals a broader shift where the cost of free data access is becoming unsustainable, potentially accelerating the move toward licensed or structured data APIs for AI training pipelines

TL;DR

  • Linux内核官方Git仓库面临严重的恶意爬虫滥用问题,"背景辐射"式爬虫流量已超出正常维护能力
  • 渲染commit给爬虫使用的CPU资源已超过所有合法访问(包括git clone)的总和
  • 在5个地理分布节点上,有14个CPU核心专门用于将git commits渲染为HTML,完全浪费在爬虫服务上
  • 开源基础设施维护者面临爬虫滥用带来的资源消耗和可持续性挑战

为什么值得看

这篇文章揭示了开源基础设施维护者面临的现实困境:爬虫滥用正在消耗大量本应用于核心开发的计算资源。对于AI从业者和开源社区成员而言,这提醒我们关注数据采集行为对公共基础设施的影响,以及如何在开放访问与资源保护之间取得平衡。

技术解析

  • 资源消耗对比:git.kernel.org的CPU使用数据显示,为爬虫渲染commit HTML所消耗的资源已超过所有合法访问(包括git clone)的总和,形成严重的资源倒挂。
  • 基础设施规模:该仓库采用5个地理分布节点进行服务,在任何时间点都有14个CPU核心专门用于渲染git commits为HTML格式,这些资源完全被爬虫占用。
  • 技术架构问题:Git仓库的commit渲染机制被爬虫大量利用,暴露出开源项目基础设施在应对自动化爬取时的架构脆弱性。
  • 关联影响:作者提到Datasette(一个提供可爬取网页的服务)也面临类似担忧,说明这一问题在开源数据服务领域具有普遍性。

行业启示

  • 开源可持续性危机:恶意爬虫正在侵蚀开源基础设施的可持续性,维护者需要重新评估开放访问策略与资源保护之间的平衡。
  • 数据采集伦理与规范:AI行业依赖大量开源数据,应建立更负责任的数据采集规范,避免对公共基础设施造成过度负担。
  • 基础设施防护趋势:预计未来开源项目将加强爬虫防护机制,包括速率限制、访问控制和技术反制措施,从业者需关注这一趋势并调整数据采集策略。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Open Source 开源 Security 安全 Programming 编程