TY - GEN
T1 - Shortest paths in less than a millisecond
AU - Agarwal, Rachit
AU - Caesar, Matthew
AU - Godfrey, Philip Brighten
AU - Zhao, Ben Y.
PY - 2012
Y1 - 2012
N2 - We consider the problem of answering point-to-point shortest path queries on massive social networks. The goal is to answer queries within tens of milliseconds while minimizing the memory requirements. We present a technique that achieves this goal for an extremely large fraction of path queries by exploiting the structure of the social networks. Using evaluations on real-world datasets, we argue that our technique offers a unique trade-off between latency, memory and accuracy. For instance, for the LiveJournal social network (roughly 5 million nodes and 69 million edges), our technique can answer 99.9 of the queries in less than a millisecond. In comparison to storing all pair shortest paths, our technique requires at least 550x less memory; the average query time is roughly 365 microseconds - - 430x faster than the state-of-the-art shortest path algorithm. Furthermore, the relative performance of our technique improves with the size (and density) of the network. For the Orkut social network (3 million nodes and 220 million edges), for instance, our technique is roughly 2588x faster than the state-of-the-art algorithm for computing shortest paths.
AB - We consider the problem of answering point-to-point shortest path queries on massive social networks. The goal is to answer queries within tens of milliseconds while minimizing the memory requirements. We present a technique that achieves this goal for an extremely large fraction of path queries by exploiting the structure of the social networks. Using evaluations on real-world datasets, we argue that our technique offers a unique trade-off between latency, memory and accuracy. For instance, for the LiveJournal social network (roughly 5 million nodes and 69 million edges), our technique can answer 99.9 of the queries in less than a millisecond. In comparison to storing all pair shortest paths, our technique requires at least 550x less memory; the average query time is roughly 365 microseconds - - 430x faster than the state-of-the-art shortest path algorithm. Furthermore, the relative performance of our technique improves with the size (and density) of the network. For the Orkut social network (3 million nodes and 220 million edges), for instance, our technique is roughly 2588x faster than the state-of-the-art algorithm for computing shortest paths.
KW - distance queries
KW - graph databases
KW - shortest paths
KW - social networks
UR - http://www.scopus.com/inward/record.url?scp=84866621671&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84866621671&partnerID=8YFLogxK
U2 - 10.1145/2342549.2342559
DO - 10.1145/2342549.2342559
M3 - Conference contribution
AN - SCOPUS:84866621671
SN - 9781450314800
T3 - WOSN'12 - Proceedings of the ACM Workshop on Online Social Networks
SP - 37
EP - 42
BT - WOSN'12 - Proceedings of the ACM Workshop on Online Social Networks
T2 - 2012 Workshop on Online Social Networks, WOSN 2012 Co-located with SIGCOMM 2012
Y2 - 17 August 2012 through 17 August 2012
ER -