batuhan / og-saltana

Abandon iteration for Minipage
https://www.minipagehq.com
1 stars 0 forks source link

critical bug - infinite errors on 404 (or internal DDos) #41

Open batuhan opened 2 years ago

batuhan commented 2 years ago

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)

batuhan commented 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.