Thread-safe priority queues in haskell based on skiplists

0Citations
Citations of this article
2Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Although thread-safe priority queues are fundamental building blocks for many parallel algorithms, there are currently no scalable implementations available in Haskell. An efficient structure to implement priority queues is the skiplist, which is a multi-level linked list with shortcuts. We developed three thread-safe skiplist variants, based on locks, software transactional memory, and atomic compare-and-swap, respectively. In our benchmarks, the lock-based and compare-and-swap variants scaled about equally well, while the transactional variant was by several orders of magnitude slower.

Cite

CITATION STYLE

APA

Lesniak, M. (2012). Thread-safe priority queues in haskell based on skiplists. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7193 LNCS, pp. 114–129). Springer Verlag. https://doi.org/10.1007/978-3-642-32037-8_8

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free