Refactor the MaxResponse part for make it cluster-aware.