Looking at the queue size is a basic way to start returning errors before your webserver fails under load.