System and method for efficient concurrent queue implementation
Abstract
A method, system, and medium are disclosed for facilitating communication between multiple concurrent threads of execution using an efficient concurrent queue. The efficient concurrent queue provides an insert function usable by producer threads to insert messages concurrently. The queue also includes a consume function usable by consumer threads to read the messages from the queue concurrently. The consume function is configured to guarantee a per-producer ordering, such that, for any producer, messages inserted by the producer are read only once and in the order in which the producer inserted those messages.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of facilitating communication between multiple concurrent threads of execution, the method comprising: a computer executing the threads concurrently, wherein the threads comprise a plurality of producer threads and a plurality of consumer threads; the computer providing the multiple concurrent threads with access to an efficient queue, wherein the providing includes: providing an insert function usable by the producer threads to insert messages into the efficient queue concurrently through invocations of the insert function; and providing a consume function usable
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (5)
- A. Gottlieb, B. D. Lubachevsky, and L. Rudolph, "Basic techniques for the efficient coordination of very large numbers of cooperating sequential processors," ACM, This report (minus sections 2.3, 8, and 9) appeared in the Apr. 1983, issue of TOPLAS, Apr. 1983, 37 pages.
- D. Hendler, I. Incze, N. Shavit, and M. Tzafrir, "Flat combining and the synchronization-parallelism tradeoff," ACM Jun. 13-15, 2010, 10 pages.
- D. Hendler, I. Incze, N. Shavit, and M. Tzafrir, Scalable flat-combining based synchronous queues, In Distributed Computing. 2010, 15 pages.
- J. M. Mellor-Crummey, Concurrent queues: Practical fetch-and-Phi algorithms, 1987, University of Rochester Computer Science Technical Report # 229, 31 pages.
- J. M. Mellor-Crummey, Concurrent queues: Practical fetch-and-Φ algorithms, 1987, University of Rochester Computer Science Technical Report # 229, 31 pages.