Meta interview question

Given a large distributed data set across multiple systems, with connections between data points, describe how you would find all connections from point a to b and sort them by weight.