[GH-ISSUE #752] Calculate througput #367

Open
opened 2026-03-02 05:20:44 +03:00 by kerem · 1 comment
Owner

Originally created by @jirevwe on GitHub (Sep 27, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/752

Originally assigned to: @hibiken on GitHub.

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

Originally created by @jirevwe on GitHub (Sep 27, 2023). Original GitHub issue: https://github.com/hibiken/asynq/issues/752 Originally assigned to: @hibiken on GitHub. Is there a way to get the throughput of messages as they are being dequeued by consumers?
Author
Owner

@kamikazechaser commented on GitHub (Sep 28, 2023):

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
<!-- gh-comment-id:1738511120 --> @kamikazechaser commented on GitHub (Sep 28, 2023): > 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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#367
No description provided.