Self-scaling networks for content distribution