Open batuhan opened 2 years ago
This internal DDoS is caused by the elastic-apm integration. Since APM requires ElasticSearch, APM server & Kibana at minimum to run and it's expensive at cloud providers, I'll take this opportunity to switch to Sentry. It's cheap and easy to manage (I also have experience with it).
Using Elastic stack wasn't my choice, it came from the code we forked.
when we throw a 404 error, the api returns the answer but tries again indefinitely in the background, causing all sorts of problems due to this being basically a DDoS attack from our internal services (which doesn't even have rate limiting and even if it did it would just the entire system)