Belitsoft took the Akamai configuration into its own hands and started making the changes itself.
First, Belitsoft audited the client's system and took the time to understand how the application worked. For example, we knew which URLs exist and which don't, how many pages a real person opens in a minute, how often a real person submits a form, and where the client's audience comes from. The Akamai rules were created based on that understanding.
Then the engineer went through the settings, to note what worked and what didn't work.
Geo blocking. Blocking whole subnets of one region did work. However, the client had real users in that region too, so we switched it off. Countries with the largest share of malicious traffic were blocked instead, reducing all traffic by 31%.
Rate limiting. This was the biggest win. For some reason BV TECH had resisted it, and Belitsoft insisted on implementing it and further fine-tuning. In one month the rate limiting rules blocked 10.4M requests. Half of them came from a "fail to ban" rule for bots that keep hitting page URLs that don't exist. 4.6M came from bots that open the same pages far more often than a real person would, 0.3M from bots that submit forms too often, and the rest from rules on the home page and a few other pages.
Rules specific to the application. On top of that, Belitsoft added rules that come from knowing exactly what the application does. A block on query string parameters the application never uses removed 1.1M bot requests a month. A blacklist of paths that don't exist, with a whitelist of the ones that do, removed another 0.7M.
Known bots. Known-bot blocking was strengthened to 1.0M requests a month, and the performance drops from crawlers like SEOKicks completely disappeared.
WAF. WAF rules that had been switched off were turned on.
Content Protector. For bots that go through the site the way a real person would, Akamai suggested its Content Protector module. The client bought it, and it blocks another 0.9M requests a month.
Akamai did the bulk of the work. Thanks to the Akamai settings, the load on the server from bots was reduced. However, the work went beyond simply setting up Akamai. The team was working also on the server and the application side.
On the server side, Belitsoft's team upped the server capacity. Scaling the database and web server vertically removed the overload and improved the situation.
On the application side, the team built a bot trap. The catalogue pages the bots go through most were optimized too.