Shortest Paths in Microseconds
Rachit Agarwal, Matthew Caesar, P. Brighten Godfrey, Ben Y. Zhao

TL;DR
ASAP is a system that leverages social network structure to compute shortest paths in microseconds, significantly reducing latency for social network applications.
Contribution
The paper introduces ASAP, a novel approach that preprocesses social networks to enable extremely fast shortest path computations with efficient storage.
Findings
Shortest path queries are answered in less than 49 microseconds.
ASAP computes hundreds of paths between node pairs in under 100 microseconds.
The method is efficiently implementable on distributed frameworks like MapReduce.
Abstract
Computing shortest paths is a fundamental primitive for several social network applications including socially-sensitive ranking, location-aware search, social auctions and social network privacy. Since these applications compute paths in response to a user query, the goal is to minimize latency while maintaining feasible memory requirements. We present ASAP, a system that achieves this goal by exploiting the structure of social networks. ASAP preprocesses a given network to compute and store a partial shortest path tree (PSPT) for each node. The PSPTs have the property that for any two nodes, each edge along the shortest path is with high probability contained in the PSPT of at least one of the nodes. We show that the structure of social networks enable the PSPT of each node to be an extremely small fraction of the entire network; hence, PSPTs can be stored efficiently and each…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Management and Algorithms · Graph Theory and Algorithms · Advanced Database Systems and Queries
