发明名称 |
System and method for using a sequencer in a concurrent priority queue |
摘要 |
A system and method can support a concurrent priority queue. The concurrent priority queue allows a plurality of threads to interact with the priority queue. The priority queue can use a sequencer to detect and order a plurality of threads that contend for one or more requests in the priority queue. Furthermore, the priority queue operates to reduce the contention among the plurality of threads. |
申请公布号 |
US9110715(B2) |
申请公布日期 |
2015.08.18 |
申请号 |
US201313781493 |
申请日期 |
2013.02.28 |
申请人 |
ORACLE INTERNATIONAL CORPORATION |
发明人 |
Otenko Oleksandr |
分类号 |
G06F9/46;G06F15/173;G06F9/48;G06F9/50;G06F9/52;G06F9/54 |
主分类号 |
G06F9/46 |
代理机构 |
Tucker Ellis LLP |
代理人 |
Tucker Ellis LLP |
主权项 |
1. A system comprising:
one or more microprocessors; a priority queue for prioritizing a plurality of requests received from a plurality of consumers; wherein the priority queue comprises a synchronized block having a continuation passing function and manages a plurality of threads for non-blocking receiving of said plurality of requests from said plurality of consumers; wherein the priority queue comprises a calendar ring buffer comprising a calendar ring buffer memory which operates to store a first subset of said plurality of requests having a target response time less than a pre-configured time; wherein the priority queue comprises an outlier list comprising an outlier list memory which operates to store a second subset of said plurality of requests having a target response time greater than the pre-configured time; wherein the priority queue comprises a sequencer which operates to enforce a first-in-first-out order for said second subset of said plurality of requests stored in the outlier list; and wherein the priority queue operates to reduce the contention among the plurality of consumers and the plurality of requests. |
地址 |
Redwood Shores CA US |