How to show a warning when the server has exceeded its bandwidth to avoid server failure?

Twitter sometimes displays a message: Twitter is over capacity

This will prevent too much pressure on the servers. This avoids having servers down.

How to implement this in my application?

Edit: I'm NOT looking for a PHP-specific solution.

+4
source share
1 answer

I am sure that this can be easily achieved using separate software to view the status of the server and with a lot of pressure show the specified message. This is very important in cloud architecture, so you can easily launch new instances. I think Amazon uses CloudWatch to do this. In addition, you can use apache mod_status to view the server, also using separate software.

Hope this helps, Gabriel

+1
source

All Articles