Dynamic data placement and discovery in wide-area networks