发明名称 Reply queue management
摘要 A method, system, and medium are provided for optimizing assignment of threads to queues within a messaging-middleware environment. Embodiments of the present invention evaluate the number of threads assigned to each individual queue and then assign a new thread to an appropriate queue based on current thread assignments. Different rules may be used to assign threads depending on the number of threads assigned to each queue. For example, initially any queue with less than a low threshold amount of active threads may be assigned threads until the low threshold is met. A different assignment methodology may be used once the low threshold is met. For example, once the low threshold is met, active queues having more than the low threshold, but less than a high threshold, may be assigned threads in a round robin fashion.
申请公布号 US8769550(B1) 申请公布日期 2014.07.01
申请号 US201213659465 申请日期 2012.10.24
申请人 Sprint Communications Company L.P. 发明人 Leonard Mark D.
分类号 G06F3/00;G06F9/46 主分类号 G06F3/00
代理机构 代理人
主权项 1. One or more non-transitory computer-readable media having computer-executable instructions embodied thereon for performing a method of optimizing an allocation of threads to messaging-middleware queues, the method comprising: receiving a request to assign an input thread to a queue, wherein the input thread helps communicate a message from an application to the queue; retrieving a list of active queues that are designated to receive messages from the application; determining an active thread number for each active queue on the list; executing an assignment rule to select a specific queue from all of the active queues, the assignment rule being based on the active thread number for each active queue, wherein the assignment rule requires that all queues with below a low threshold of active threads be filled before threads are assigned to a queue having more than the low threshold of active threads; and assigning the input thread to the specific queue.
地址 Overland Park KS US