How much of the AI crawling proportion in the log needs to be limited separately
How much of the crawling in the log is performed by AI before it needs to be limited separately? There is no universal threshold that can be directly applied. The proportion itself only indicates who initiated the request, while the limitation aims to solve the server load and crawling intent, which need to be judged separately: if the load is stable, adjust the robots instruction layer configuration first, and only adjust the bandwidth and frequency if the load is really overwhelmed.In the external statistics, the proportion of AI-based crawlers in the number of requests is no longer marginal, Googlebot accounts for 23.80%, Meta-ExternalAgent is 13.28%, ClaudeBot is 13.23%, and another 7.9% of requests were blocked by 403 Forbidden.
How to separate AI crawlers in the log
The first step is to classify by user-agent, not by IP. The identifiers and purposes of search engine crawlers and training crawlers are different: retrieval crawlers crawl to build indexes and bring visitors to the site; training crawlers only take content without generating return visits. Combining the two types in a statistics results in a proportion that has no decision-making value.
After classification, pair two columns of data: the number of requests and the actual number of visitors generated. The former is pressure, the latter is return, the speed limit decision looks at the ratio of the two. It is worth taking action only for categories with high request volume and low visitor return.
To what extent is it worth taking action based on the proportion?
The conditions for taking action do not look at the individual proportion, but whether three things are simultaneously established.
| Observation item | What does it mean | Corresponding action |
|---|---|---|
| The proportion of crawling requests continues to rise. | The crawling structure is changing. | First check the robots instruction configuration. |
| The server concurrency pressure is rising, and the page loading speed is slowing down. | Real resource competition. | Do frequency and bandwidth limitations. |
| High crawling volume but almost no corresponding visitors. | Only take and no return | Consider content layer measures |
AnQiCMS is developed using GoLang, a single machine can carry about 5 million PV, and it is not easy for normal-scale enterprise stations to be overwhelmed by crawlers at the load level. If it is indeed observed that the page loading speed is affected, first confirm whether it is a collection task or image resources consuming resources, and then decide whether to limit external crawling.
The sequence of action: first instructions, then bandwidth, then content layer
The order is wrong and it will hurt the collection. The first step is the robots instruction layer: AnQiCMS supports Robots.txt configuration, clearly identifying the crawlers to be treated differently, which is the smallest impact step, only changing whether the request is welcomed without changing the server behavior.
The second step is the frequency and bandwidth layer, which acts on gateway or service configuration, the risk is that the rules are written too broadly and the search engine is limited as well, which requires using logs to first verify the objects that are limited.
The interference code solves another matter.
The anti-crawling interference code is aimed at the mass collection of content, which belongs to the content layer. It does not reduce the number of crawling requests and does not participate in throttling. Some people hope to deal with the pressure of crawling by means of interference codes, but these two things are not on the same layer: interference codes reduce the quality of the content that is moved, throttling reduces the number of requests received by the server, one manages the result, and the other manages the pressure.
Similarly, a high proportion of being blocked back by 403 indicates that the site is already using rule layer or access layer rules. At this time, it is more appropriate to review the scope of the rules rather than add an additional layer of restriction.
Common questions
Should we block training type crawlers from the beginning?
Not recommended. First, count the actual visitors and crawling pressure it brings, and then decide; command layer configuration can express attitude, and there is no need to change the server behavior immediately.
Will speed limit affect normal inclusion?
Yes, so the order is very important. The configuration of robots command layer has controllable impact on search engines, and frequency limitation needs to be confirmed by the log before doing.
Can interference codes and robots be used together?
Yes, there is no conflict between the two. Robots control whether to come, and interference codes control the quality of the things taken away after coming.