Hi Lewatle,
I'd recommend starting with our Performance Tuning Guidelines, especially those regarding "Limit which pages are processed by Server Side Rendering (SSR)" and possibly also the "Turn on caching of Server Side Rendered pages". When a large number of bots all hit SSR, they may overwhelm both the frontend and backend... so, limiting SSR or caching it can sometimes help. However, keep in mind, some of these settings are only available in 8.2 or later. So, they won't help if you are running 8.0...you would need to upgrade to take advantage of them.
We do also have a ticket where we've started some discussions about *managing aggressive bots* (especially AI-related bots).
https://github.com/DSpace/dspace-angular/issues/4565 If these bots are overly aggressive, then it's possible the hints in our "Performance Tuning Guidelines" may not make a large impact (it may only slow down the bots slightly). These overly aggressive bots are not something that can fully solved in DSpace code itself...but, we have a lot of external sources listed in that ticket, along with some hints from other DSpace developers on what has worked for them.
Hopefully that can at least get you started.
Tim