Thanks Dan. On Wed, Aug 31, 2011 at 11:53 PM, Daniel Kulp <[email protected]> wrote:
> On Tuesday, August 30, 2011 10:44:34 PM Raj Floyd wrote: > > Hi, > > > > If Coloc is enabled on the client side, it will detect whether the server > is > > local or not. Some questions: > > > > 1. What if I do not use Coloc feature and still make my client and server > > run in same JVM. Will it work? > > Yes. It would just use whatever protocol is normally used. However, you > do > have to be slightly careful of potential deadlocks. For example, if the > server HTTP pool is set for 25 threads/connections, and all 25, at the same > time, try to use a client that calls back into the server via http, they > could > fail or timeout as the server wouldn't have any more threads left to > process > those requests. > > > 2. Is the only role of coloc is to detect the location of server? > (whether > > local or remote) Which interceptor actually does that IN or OUT? > > > It's the ColocOutInterceptor that would be on the Clients out chain. > > > -- > Daniel Kulp > [email protected] > http://dankulp.com/blog > Talend - http://www.talend.com >
