Had a mid cage ultegra 10 speed mech working fine with 11-32 cassette and 52/34 chain set for a few years now, including a lot of mountainous touring. As has been said a cheaper and possibly more reliable set up would be to use a 9 speed mtb mech as they have the same pull ratio as 10 speed road stuff.