Adaptive Distributed Systems Spanning Cloud-Edge Networks