asynq
asynq copied to clipboard
Calculate througput
Is there a way to get the throughput of messages as they are being dequeued by consumers?
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