开发者在Hacker News上发布自定义信息流阅读器sprinklz.io后,其网站遭遇大量AI机器人流量冲击1。该项目在平台上获得约100个赞1,但随后网站性能严重下降。
通过日志分析,开发者发现近一半的流量来自单个用户,该用户自称运营一项监听网站变化并生成AI摘要新闻通讯的服务,并且该服务每分钟多次查询网站1。除此之外,开发者还识别出包括Claude bot、OpenAI bot和Google搜索索引器在内的其他爬虫1。
为应对这一问题,开发者采取了多项措施,包括添加robots.txt文件、设置速率限制以及改进底层基础设施1。通过这些优化,网站现已能够处理数百QPS的真实流量1。
A developer who shared their project on Hacker News experienced a sudden surge in automated traffic that severely degraded site performance.1 The developer, Sammy, had posted sprinklz.io—a customizable news feed reader—to the platform where it received approximately 100 upvotes.1 Following the post, log analysis revealed that nearly half of the incoming traffic originated from a single user running an AI-powered service that monitors website changes and generates automated news summaries, making multiple requests to the site every minute.1
Beyond this dominant source, Sammy's infrastructure logs uncovered traffic from numerous other bots and crawlers, including Claude bot, OpenAI bot, and Google's search indexer.1 In response to the performance degradation, the developer implemented several defensive measures: adding a robots.txt file, configuring rate limits, and upgrading the underlying infrastructure.1 These improvements enabled the website to handle hundreds of queries per second from legitimate traffic.1
评论
还没有评论,欢迎留下第一条。