Algorithmic performance of large-scale distributed networks