larsga / whazzup

Automatically exported from code.google.com/p/whazzup
0 stars 0 forks source link

Produce some statistics on queue load #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
One way would be to dump stats to HTML (for viewing through the web interface) 
at intervals, and to keep comparable stats for several such intervals.

Some possible measures: number of tasks in the queue, time to process a task, 
wait time for a task in the queue before it's finally processed. Showing max, 
min, average, and right now values for these measures might work.

Original issue reported on code.google.com by lar...@gmail.com on 25 Jul 2011 at 7:11

GoogleCodeExporter commented 8 years ago
Also: for each task type: min, max, average, and count.

Original comment by lar...@gmail.com on 26 Jul 2011 at 4:21

GoogleCodeExporter commented 8 years ago
Also: queue load. That is, percentage of time elapsed in which the queue worker 
was busy with a task.

Original comment by lar...@gmail.com on 28 Jul 2011 at 8:24

GoogleCodeExporter commented 8 years ago
Note when collection of statistics began.

Original comment by lar...@gmail.com on 28 Jul 2011 at 9:15

GoogleCodeExporter commented 8 years ago
This is good enough for now.

Original comment by lar...@gmail.com on 20 Aug 2011 at 5:58