{"title":"An Efficient Parallel Ordered Depth-First Search Strategy for Directed Acyclic Graphs","authors":"Chuqi Yan, Jianqiang Huang","doi":"10.1002/cpe.70013","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>With the advent of the big data era, accelerating the parallelization of Depth-First Search (DFS) has become pivotal for addressing the challenges posed by large-scale datasets and complex problems in contemporary applications. To improve the parallel processing performance of DFS on Directed Acyclic Graphs (DAGs) while maintaining the orderliness of traversal outcomes, this paper introduces an efficient Parallel Ordered Depth-First Search (PODFS). By leveraging the novel concepts of Clue Path, ParallelList, and the node attributes Level and Dis, PODFS achieves precise subgraph partitioning while preserving the ordered nature of parallel search results. After performing a one-time preprocessing on a specific graph, the proposed algorithm enables more efficient global traversals, achieving a speedup ranging from 6× to 12× on various real-world graph datasets while maintaining the orderedness of traversal results. These performance improvements are crucial for applications that require frequent, in-depth graph searches with a strict need to preserve traversal order.</p>\n </div>","PeriodicalId":55214,"journal":{"name":"Concurrency and Computation-Practice & Experience","volume":"37 4-5","pages":""},"PeriodicalIF":1.5000,"publicationDate":"2025-02-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Concurrency and Computation-Practice & Experience","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70013","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
With the advent of the big data era, accelerating the parallelization of Depth-First Search (DFS) has become pivotal for addressing the challenges posed by large-scale datasets and complex problems in contemporary applications. To improve the parallel processing performance of DFS on Directed Acyclic Graphs (DAGs) while maintaining the orderliness of traversal outcomes, this paper introduces an efficient Parallel Ordered Depth-First Search (PODFS). By leveraging the novel concepts of Clue Path, ParallelList, and the node attributes Level and Dis, PODFS achieves precise subgraph partitioning while preserving the ordered nature of parallel search results. After performing a one-time preprocessing on a specific graph, the proposed algorithm enables more efficient global traversals, achieving a speedup ranging from 6× to 12× on various real-world graph datasets while maintaining the orderedness of traversal results. These performance improvements are crucial for applications that require frequent, in-depth graph searches with a strict need to preserve traversal order.
期刊介绍:
Concurrency and Computation: Practice and Experience (CCPE) publishes high-quality, original research papers, and authoritative research review papers, in the overlapping fields of:
Parallel and distributed computing;
High-performance computing;
Computational and data science;
Artificial intelligence and machine learning;
Big data applications, algorithms, and systems;
Network science;
Ontologies and semantics;
Security and privacy;
Cloud/edge/fog computing;
Green computing; and
Quantum computing.