This is very much the type of thing I'm looking for. What I do not understand how to accomplish is having one (or a few) threads which handle the i/o events for both the incoming requests and the outgoing requests to the back-end services, and then their responses.
I'll take a look at the source for Apache Synapse though... Thanks! Bill- On Fri, Aug 26, 2011 at 9:29 AM, Oleg Kalnichevski <[email protected]> wrote: > Bill, > > A very common pattern for proxies (used by Apache Synapse, for instance) > is to have a small number of i/o dispatch threads (approx. as many as > the CPU cores) handling i/o events for incoming and outgoing connections > asynchronously and a larger pool of worker threads that are employed to > execute long, potentially blocking operations (such as content > transformation). I _suspect_ that is what you want. > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
