Flow-Control And Global Parallelism Metrics #184
Replies: 3 comments 8 replies
-
|
Yes real time is essential for diagnosing any current delays. Historic metrics are critical for understanding how current parallelism (global or user defined) are affecting perf. Without this users are in the dark about how parallelism is affecting their perf. Please make sure this applies to the "global" parallel limit as well, the API example above seems to rely on a flow control key. Not sure if that needs to be omitted to see the global queue, or if there's a |
Beta Was this translation helpful? Give feedback.
-
|
Is there any update on this? |
Beta Was this translation helpful? Give feedback.
-
|
Any updates on this? |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently it is hard for our users to understand what is going on with Flow-Control/Global Parallellism.
Did it hit the limit?
How many messages are waiting because of the limit?
What is the affective Flow-Control Rate/Parallelism/Period ?
We are revising the Flow-Control implementation. The plan is to improve the get flow-control endpoint as a start to help users more
GET /v2/flow-control
Current version:
Improved version:
To access new fields via SDK -> https://upstash.com/docs/qstash/features/flowcontrol#get-a-single-flow-control-key
There is a special $ wait list on this list that reports the waitlist size for the messages that doesn't have any related flow control key and just waiting for global parallelism.
To access global parallelism info via SDK -> https://upstash.com/docs/qstash/features/flowcontrol#get-global-parallelism
You can access all these via rest api as well here: https://upstash.com/docs/qstash/api-refence/flow-control/list-flow-control-keys
Flow Controltab of QStash Console also shows all these data together with the historic global parallelism graph. And there is more detailed version of global parallelism graph on the Usage tab of the QStash Console.Beta Was this translation helpful? Give feedback.
All reactions