I don't know what the goal was; I guess it's what happens when you share your projects publicly, but now the service is faster and more stable than ev

How to mitigate a DDoS attack on a small server - DeveloperJoy

submited by
Style Pass
2024-11-20 13:00:03

I don't know what the goal was; I guess it's what happens when you share your projects publicly, but now the service is faster and more stable than ever!

I don't have the exact numbers, because the server was not ready before this, but it seems that from 8 am to 18 pm the web was receiving about 750k request per hour from a single IP.

I know it's not too much for a big server, but take into account that MetricsWave still run in a relative small server with a simple config.

The good news is the app keep alive during the hole day and we were able to manage all the traffic, registering all the events and visits from our users pages.

With this, I'm able to reject all the malicious requests before they even reach our server, so we can keep the CPU usage and memory healthy.

We improved our dashboard queries and cached some of the ones that do not change much, and we can even invalidate the cache when they do.

Leave a Comment