Any hints on how to use Read/WriteThrottleFilter?Thanks.

On 4/25/07, Martin Ritchie <[EMAIL PROTECTED]> wrote:

On 25/04/07, peter royal <[EMAIL PROTECTED]> wrote:
> On Apr 24, 2007, at 7:13 AM, mat wrote:
> > Hi folks,
> >
> > Out of direct buffer memory occured again. I already setup
> > ByteBuffer.setUseDirectBuffers(false);  // Direct buffers perform bad.
> >      ByteBuffer.setAllocator(new SimpleByteBufferAllocator()); //
> > Disables
> > pooling.
>
> is data arriving faster than you can process it? if so, look at the
> ReadThrottleFilterBuilder
>
> or are you sending faster than it can be written to the network? ..
> you'll need to do your own flow control then.

Or take a look at the WriteThrottleFilter I wrote here:
https://issues.apache.org/jira/browse/DIRMINA-302

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


--
Martin Ritchie

Reply via email to