The easiest way I know of to decrease latency is to cut down on the
filters you are using.  This includes thread pools as well.  Have you
read this page: http://mina.apache.org/configuring-thread-model.html?
It might help you along...




2008/5/28 Owen Gu <[EMAIL PROTECTED]>:
> Hi,
> Thanks for your reply, I know a good framework will not expose the
> SocketChannel directly, I guess you could add some filter to solve the
> problem, could you tell me an approximate time I can get the low latency
> version, I don't want wait a long time, because it's a big problem for me:P,
> or could give me some hint so I can solve the problem by myself before I get
> the new version.
>
> On Wed, May 28, 2008 at 11:26 PM, 이희승 (Trustin Lee) <[EMAIL PROTECTED]>
> wrote:
>
>> Hi Owen,
>>
>> It's a known issue and should be dealt with before MINA 2 RC1.  However, we
>> should not expose SocketChannel directly - we should assure low latency even
>> without doing so.
>>
>> HTH,
>>
>>
>> On Thu, 29 May 2008 00:15:02 +0900, Owen Gu <[EMAIL PROTECTED]> wrote:
>>
>>  Hi,
>>> A lot of our users complain about the latency problem, If mina could write
>>> the message directly before using a selector to dectect whether the
>>> SocketChannel could be written and when the message counln't be sent
>>> completly, using a selector to write the remaining messages, I think the
>>> latency problem will better than now.
>>>
>>
>>
>>
>> --
>> Trustin Lee - Principal Software Engineer, JBoss, Red Hat
>> --
>> what we call human nature is actually human habit
>> --
>> http://gleamynode.net/
>>
>

Reply via email to