Reputation: 11978
Twitter sometimes shows an message: Twitter is over capacity
This is to prevent too much pressure on the servers. Which avoids that the servers go down.
How do I implement this in my application?
Edit: I am NOT looking for a PHP specific solution.
Upvotes: 4
Views: 709
Reputation: 133
I thing this can be easily achieved by using a separate software to watch the server status, and on to much pressure, show the specified message. This is very important in a cloud architecture, so you can easily launch new instances. I think Amazon uses CloudWatch for this. Also, you could use apache mod_status to watch the server, also using a separate software.
Hope this helps, Gabriel
Upvotes: 1