mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: [Dev] Applying TCP Backpressure on reading sockets with Mina
Date Mon, 20 Jan 2014 21:34:27 GMT
Le 1/20/14 8:43 PM, ishara premadasa a écrit :
> Hi Emmanuel,
> Thank you very much for the response. I checked with
> ConnectionThrottleFilter however i am writing data by keeping a single
> connection hence this doesn't fit into my requirement. What i expect to do
> is throttle write requests on a single session (something like write 5
> messages per sec / write 5 MB of data and then wait etc.). I have searched
> and found a class called 'WriteThrottleFilter' in [1] which seems to
> describe what i need. 

Most certainly.

> Is this supported in later mina releases or may i
> please know are there any alternate write throttling mechanisms?

As I said, in 2.0, the ConnectionThrottleFilter is doing the job.

Emmanuel Lécharny

View raw message