Boost logo

Boost Users :

Subject: [Boost-users] [ asio ] how to determine if a server is overloaded ?
From: Avi Bahra (avibahra_at_[hidden])
Date: 2011-01-04 09:46:02


I am experimenting with boost asio & serialisation.
and have created a test server based on the corresponding
example in the asio tutorial.

This is a simple single threaded server.
The stress testing I have done, shows I get different
results on different platforms. This is expected.

However I need a way of determining when the
server can not cope with the load. This allows me
to inform the user.

Currently I have used typical requests to
stress test the server. This shows the server handles
~1000 requests/sec in debug
under ideal conditions, on localhost.

Does this means that if I continue to receive 1000/request sec
over a several sec/minutes, then the server must be overloaded.
Is this the right way of thinking about the problem
or am I "barking up the wrong tree".

Can any one provide any insights about how one
goes about determining when a asio server is
overloaded ?

Any help appreciated.

   Best regards,
Ta,
    Avi


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net