System and method for supporting a lazy sorting priority queue in a computing environment
First Claim
Patent Images
1. A system for supporting queue processing in a computing environment, the system comprising:
- a processor;
a priority queue operable to store a set of priority service requests and to prioritize the set of priority service requests as a set of prioritized service requests stored in the priority queue, wherein the set of prioritized service requests are available to an associated consumer in operative communication with the system for processing by the associated consumer;
one or more buffers, wherein each of the one or more buffers is operable to store one or more service requests received from an associated producer in operative communication with the system; and
a thread executable to determine a lack of associated consumers waiting for processing the set of prioritized service requests, and to selectively move a service request of the one or more service requests stored in the one or more buffers to the priority queue as a priority service request exclusively in response to the determining the lack of associated consumers waiting for processing the set of prioritized service requests.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method can support queue processing in a computing environment. A lazy sorting priority queue in a concurrent system can include a priority queue and one or more buffers. The one or more buffers, which can be first-in first-out (FIFO) buffers, operate to store one or more requests received from one or more producers, and move at least one message to the priority queue when no consumer is waiting for processing a request. Furthermore, the priority queue operates to prioritize one or more incoming requests received from the one or more buffers, and allows one or more consumers to pick up the requests based on priority.
-
Citations
20 Claims
-
1. A system for supporting queue processing in a computing environment, the system comprising:
-
a processor; a priority queue operable to store a set of priority service requests and to prioritize the set of priority service requests as a set of prioritized service requests stored in the priority queue, wherein the set of prioritized service requests are available to an associated consumer in operative communication with the system for processing by the associated consumer; one or more buffers, wherein each of the one or more buffers is operable to store one or more service requests received from an associated producer in operative communication with the system; and a thread executable to determine a lack of associated consumers waiting for processing the set of prioritized service requests, and to selectively move a service request of the one or more service requests stored in the one or more buffers to the priority queue as a priority service request exclusively in response to the determining the lack of associated consumers waiting for processing the set of prioritized service requests. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for supporting queue processing in a computing environment, the method comprising:
-
providing a priority queue wherein the priority queue operable to store a set of priority service requests and to prioritize the set of priority service requests as a set of prioritized service requests stored in the priority queue, wherein the set of prioritized service requests are available to an associated consumer in operative communication with the system for processing by the associated consumer; providing one or more buffers, wherein each of the one or more buffers is operable to store one or more service requests received from an associated producer in operative communication with the system; and providing a thread executable to determine a lack of associated consumers waiting for processing the set of prioritized service requests, and the thread being executable to selectively move a service request of the one or more service requests stored in the one or more buffers to the priority queue as a priority service request exclusively in response to the determining the lack of associated consumers waiting for processing the set of prioritized service requests. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A non-transitory machine readable storage medium having instructions stored thereon that when executed cause a system to perform steps comprising:
-
operate a priority queue to store a set of priority service requests and to prioritize the st of priority service requests as a set a set of prioritized service requests stored in the priority queue, wherein the set of prioritized service requests are available to an associated consumer in operative communication with the system for processing by the associated consumer; store in one or more buffers, one or more service requests received from an associated producer in operative communication with the system; and execute a thread to determine a lack of associated consumers waiting for processing the set of prioritized service requests, and to selectively move by the thread a service request of the one or more service requests stored in the one or more buffers to the priority queue as a priority service request exclusively in response to the determining the lack of associated consumers waiting for processing the set of prioritized service requests.
-
Specification