On 4 Feb 2013, at 07:46, Dan Berindei <dan.berindei@gmail.com> wrote:

Switching to a state machine approach would require rethinking and rewriting all our interceptors, and I'm pretty sure the code would get more complex and harder to debug (to say nothing about interpreting the logs). Are you sure it's going to have that many benefits to make it worthwhile?

I think it could be worthwhile, but I agree it is not at all trivial.  So that's actually a hard call as a result - not so easy to prototype and benchmark.


--
Manik Surtani

Platform Architect, JBoss Data Grid