Thursday
Hello community,
I am working on developing a process to consume work queue items as quickly as possible.
Rather than scheduling a session that terminates each time all work queue items are processed, I am considering a session that continues to run in the main loop after all work queue items have been processed.
In that case, I am wondering if I should use "active queues" for session management or simply run sessions manually. "Active queues" have features such as specifying a resource group as the execution destination instead of a resource pool, but I have not been able to understand the clear benefits.
I would appreciate it if someone could clarify whether it is necessary to use "active queues" and if there are any clear advantages or disadvantages.
Thank you,
Yusuke Ninoseki
Thursday
Hi @Ninoseki ,
For your scenario of developing a process to consume work queue items as quickly as possible with a continuously running session, Active Queues can indeed be useful because of the following reasons:
However, there are scenarios where manually running sessions on specific queue works better:
The main trade-off that I can see is more related to the setup complexity, control over sessions and potentially higher licensing costs versus the long-term benefits in efficiency, scalability, and manageability.
Unless you have specific reasons to avoid Active Queues (like licensing constraints or very specific resource assignment needs), they seem well-suited to your use case.
Thursday
There is an asset on the digital exchange that I can never remember the name of (not a good name) that does what you are after r- maybe someone else on here remembers, otherwise have a search.
Basically it is a parent process that monitors multiple queues for work. You configure some settings for those multiple queues (SLAs, Priority, etc) which the parent process uses in it's logic to decide which child process/queue it should work first. The DX is going far too slow for me right now so gave up searching... if I remember it's name I'll come back and post.