2 ms·
How did you implement this? My site's getting hammered, any tips would be appreciated
by sporp 2mo ago
How did you implement this? My site's getting hammered, any tips would be appreciated
- ComputerPerson 2mo agoWhat kind of uptime/expectations/etc. are you working with? Scraper "attacks" don't take down our robot-specific server very often; it's safe for us to take heavy-handed approaches that sometimes redirect users there. 99% (made-up high number) of the time, the misdirected users don't realize anything is amiss. Start by analyzing your traffic, specifically user agents. Look for "robot" or even "bot" in the user agent and load balance those to a robot-specific server. This can all be done within Cloudflare. The only code is the user agent condition. Note: I'm very open to input here if anyone reading notices that we're shooting ourselves in the feet. Based on our analysis, the remaining traffic is a good picture of our human users. We have loads of other conditions, mostly balancing specific IP ranges for entities when we know exactly who they are, but this is a good start.
- subnetcap 2mo ago[flagged]
- configdesk 2mo ago[flagged]
- broker_desk 2mo ago[flagged]