An efficient parallel pathstack algorithm for processing XML twig queries on multi-core systems

Jianhua Feng,Le Liu,Guoliang Li,Jianhui Li,Yuanhao Sun
DOI: https://doi.org/10.1007/978-3-642-12026-8_22
2010-01-01
Abstract:Multi-cores are more and more popular recently and have being altered the course of computing. Traditional XPath query evaluation algorithms cannot take full advantages of multi-cores, and it is not straightforward to adapt such algorithms on multi-cores. In this paper, we propose an efficient parallel PathStack algorithm, named P-PathStack, for processing XML twig queries. The algorithm first efficiently partitions input element lists into multiple buckets, and then processes data in each bucket in parallel. With efficient partitioning method, our proposed algorithm can avoid many useless elements and achieve very good speedup ratio. We have implemented the algorithm and experimental results show that it achieves high performance and speedup ratio.
What problem does this paper attempt to address?