oio-sds icon indicating copy to clipboard operation
oio-sds copied to clipboard

Report request queue length (or average waiting time)

Open fvennetier opened this issue 6 years ago • 0 comments

Our network server has the ability to drop incoming requests when it is overbooked. The decision is made by comparing the time the request has spent in the incoming queue to the server.queue.max_delay configuration parameter (server/network_server.c).

We would like to report:

  • the current length of the incoming request queue (g_thread_pool_unprocessed(srv->pool_tcp) may help);
  • the average time a request waits in the queue.

fvennetier avatar Aug 17 '17 12:08 fvennetier