Examples of IoEventQueueThrottle use?

2009-08-25 Thread Daniel John Debrunner
I'm seeing hangs when I use an IoEventQueueThrottle as below. I read the comments in the javadoc about requiring an executor in the filter chain. I get no hangs if I do not add writeThrottle into the chain (my app is currently throttling by waiting for every 100th write to complete). //

Re: Examples of IoEventQueueThrottle use?

2009-08-25 Thread Emmanuel Lecharny
Daniel John Debrunner wrote: I'm seeing hangs when I use an IoEventQueueThrottle as below. I read the comments in the javadoc about requiring an executor in the filter chain. I get no hangs if I do not add writeThrottle into the chain (my app is currently throttling by waiting for every

Re: Examples of IoEventQueueThrottle use?

2009-08-25 Thread Daniel John Debrunner
Daniel John Debrunner wrote: Emmanuel Lecharny wrote: That would be good for sure to have such a mechanism implemented in MINA... This is not exactly what does the IoEventQueueThrottler : it does limit the size of data sent to the client to a certain size, limiting the throughput. Probably

Re: Examples of IoEventQueueThrottle use?

2009-08-25 Thread Daniel John Debrunner
Emmanuel Lecharny wrote: Daniel John Debrunner wrote: I'm seeing hangs when I use an IoEventQueueThrottle as below. I read the comments in the javadoc about requiring an executor in the filter chain. I get no hangs if I do not add writeThrottle into the chain (my app is currently

Re: Examples of IoEventQueueThrottle use?

2009-08-25 Thread Emmanuel Lecharny
Daniel John Debrunner wrote: Emmanuel Lecharny wrote: Daniel John Debrunner wrote: I'm seeing hangs when I use an IoEventQueueThrottle as below. I read the comments in the javadoc about requiring an executor in the filter chain. I get no hangs if I do not add writeThrottle into the chain