A modern Deore long cage should have no problem with your big cog and should be able to wrap just about any combination you can get a front der to shift. A 22 tooth difference up front is very common on the mountain bikes that the Deore is built for so I would expect it to work fine on your 24. Most Shimano stuff is spec'd pretty conservatively and can usually handle a couple more teeth than advertised.