Hi Peter,

I'm using mina-0.9.3.

Luciano

-----Mensagem original-----
De: peter royal [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 11 de maio de 2006 21:38
Para: [email protected]
Assunto: Re: Handle many keep-alive clients and running slow code


On May 11, 2006, at 6:01 PM, Luciano Macedo Rodrigues wrote:
> So, how to handle many clients and run some slow code? I'm thinking of

> some wait() and notify() operation, but I don't know if it's ok to use

> it. A good idea would be a thread of IoHandler, but I don't know
> how to
> implement it.

What MINA version is this?

Unless you're on the latest release, add a ThreadPoolFilter. If  
you're not using one, it might solve all of your problems. (The  
latest release adds this filter automatically)

-pete

-- 
[EMAIL PROTECTED] - http://fotap.org/~osi



Reply via email to