Initial situation
A customer’s websites periodically became noticeably slower. The applications themselves had not changed, but server load increased when large volumes of automated requests reached the websites. The increased traffic affected response times and reduced overall service stability. The goal was to determine whether the slowdown was caused by insufficient server resources or by traffic that did not need to reach the origin server at all.
Technical Challenge
The performance problem was associated with increased traffic generated by bots. Even when automated requests are technically valid HTTP requests, processing large numbers of them consumes infrastructure resources. Each request may require the server to accept a connection, process the HTTP request, execute web-server rules, pass the request to an application, and generate or retrieve content. As the number of unnecessary requests grows, legitimate users must compete for the same CPU, memory, application workers, and network capacity. Simply upgrading the server would therefore not address the underlying cause. The unwanted traffic needed to be filtered before it consumed origin-server resources.
What the Unihost Team Did
1. Investigated the source of the load
The support team analyzed the performance issue and identified increased automated traffic as a significant contributor to the server load. The problem was therefore not treated simply as insufficient hardware performance.
2. Moved the domains to CDN nameservers
The affected domains were transferred to CDN nameservers. This added an external layer between incoming traffic and the customer’s origin infrastructure. Instead of all requests reaching the web server directly, traffic first passed through CDN.
3. Configured filtering of unwanted traffic
Traffic filtering was configured so that unwanted automated requests could be handled before reaching the customer’s server. This reduced the amount of unnecessary traffic that the origin infrastructure had to process.
4. Verified website operation
After the filtering changes were applied, the websites were tested again. The reduction in unwanted requests lowered server load and improved normal website responsiveness.
Why Traffic Filtering Was Better Than Simply Adding Resources
When server performance degrades, increasing CPU or RAM can sometimes help. But adding hardware does not always solve the actual problem. If a large portion of the workload consists of traffic that the application should not be processing in the first place, increasing server capacity simply allows the infrastructure to process more unwanted requests. Filtering the traffic earlier in the request path reduces the amount of work performed by the origin server. This approach addressed the source of the load rather than only increasing the capacity available to absorb it.
Unihost Support Work
The work included performance troubleshooting, traffic analysis, domain DNS migration, CDN nameserver configuration, unwanted traffic filtering, origin-server verification, and post-change performance testing.
Result
The amount of unnecessary traffic reaching the customer’s server was reduced. As a result, server load decreased and website response times improved noticeably without relying only on additional hardware resources. The customer retained the existing application environment while adding an external traffic-filtering layer in front of the origin servers.
Results at a glance: bot traffic identified, CDN introduced in front of the origin, unwanted requests filtered, server load reduced, website performance improved.