Re: [Dev] Applying TCP Backpressure on reading sockets with Mina

2014-01-20 Thread ishara premadasa
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

Re: [Dev] Applying TCP Backpressure on reading sockets with Mina

2014-01-20 Thread Emmanuel Lécharny
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

[Dev] Applying TCP Backpressure on reading sockets with Mina

2014-01-19 Thread ishara premadasa
Hi, I would like to know whether Apache Mina supports applying TCP backpressure on the sending clients? My requirement is that when there are a lot of messages arriving from an extensive publishing client, activating TCP backpressure as then it may stop reading anymore packets from the sockets

Re: [Dev] Applying TCP Backpressure on reading sockets with Mina

2014-01-19 Thread Emmanuel Lécharny
Le 1/19/14 4:55 PM, ishara premadasa a écrit : Hi, I would like to know whether Apache Mina supports applying TCP backpressure on the sending clients? My requirement is that when there are a lot of messages arriving from an extensive publishing client, activating TCP backpressure as then it