pick server by sharded and non-sharded strategy