asynq icon indicating copy to clipboard operation
asynq copied to clipboard

Calculate througput

Open jirevwe opened this issue 1 year ago • 1 comments

Is there a way to get the throughput of messages as they are being dequeued by consumers?

jirevwe avatar Sep 27 '23 13:09 jirevwe

throughput of messages

I assume messages = tasks ?

Couple of ways I could think of to estimate throughput:

  • Enqueue all tasks (measured) first before starting the processor, then start processing the queue. To get stats, start polling with Insepector.GetQueueInfo
  • Exposing metrics

kamikazechaser avatar Sep 28 '23 05:09 kamikazechaser