You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by "Whitener, Winona T." <Wi...@gd-ais.com> on 2013/05/14 22:41:16 UTC

Is there a setting to prevent too many messages coming through?

My client is currently set up to fire messages back to my server very quickly.  Around-1 - 3 a second.  Does MINA have any type of handling to prevent too many messages from coming through?

Winona

Re: Is there a setting to prevent too many messages coming through?

Posted by Jose María Zaragoza <de...@gmail.com>.
2013/5/14 Whitener, Winona T. <Wi...@gd-ais.com>

> My client is currently set up to fire messages back to my server very
> quickly.  Around-1 - 3 a second.  Does MINA have any type of handling to
> prevent too many messages from coming through?
>
>
For me, a message is a high-level concept in a networking communication
I think that it's a server task to control data flow (by session)

Re: Is there a setting to prevent too many messages coming through?

Posted by Julien Vermillard <jv...@gmail.com>.
if you want to stop the message flow disable the read for the session,
it will calm down the sender.

On Tue, May 14, 2013 at 11:26 PM, Emmanuel Lécharny <el...@gmail.com> wrote:
> Le 5/14/13 10:41 PM, Whitener, Winona T. a écrit :
>> My client is currently set up to fire messages back to my server very quickly.  Around-1 - 3 a second.  Does MINA have any type of handling to prevent too many messages from coming through?
>
> Not really. But 2-3 msg/s is everything but high. Your server should be
> able to handle such a load.
>
> Why would you like to limit the number of sent messages ?
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>

Re: Is there a setting to prevent too many messages coming through?

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 5/14/13 10:41 PM, Whitener, Winona T. a écrit :
> My client is currently set up to fire messages back to my server very quickly.  Around-1 - 3 a second.  Does MINA have any type of handling to prevent too many messages from coming through?

Not really. But 2-3 msg/s is everything but high. Your server should be
able to handle such a load.

Why would you like to limit the number of sent messages ?


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com