Hi,

On Thu, Apr 30, 2015 at 2:28 PM, 刘澜涛 <[email protected]> wrote:

> Can you tell me some possible reasons of this high latency period? I'll
> try to figure out which of them is the real reason.
>
> It is not because the endpointwriter buffers messages when connection
> builds up.
> I have tested sending message slower and then speed up, there was also the
> high latency period.
>

Hmm, have you looked into the remoting dispatcher settings and/or the netty
pool settings? You might want to add more threads to those pools and see if
the issue remains.

-Endre


>
> Thanks a lot! :) And also sorry for my poor Engslih -..-
>
>
> 在 2015年4月27日星期一 UTC+8上午1:45:22,Patrik Nordwall写道:
>>
>>
>>
>> On Fri, Apr 24, 2015 at 5:18 AM, 刘澜涛 <[email protected]> wrote:
>>
>>> Is this related to AdaptiveReceiveBufferSizePredictor of Netty?
>>> I found akka use the default configuration:
>>> AdaptiveReceiveBufferSizePredictor(64, 1024, 65536)
>>>
>>>
>>> 在 2015年4月24日星期五 UTC+8上午2:54:37,刘澜涛写道:
>>>
>>>> In my system, I use 16 sender actors sending messages to 1 receiver
>>>> actor.
>>>> 16 sender actors distribute evenly on 4 ActorSystem,s and receiver
>>>> actor is in an individual ActorSystem.
>>>> Each sender sends 75msg/s to receiver, each message is about 1kb.
>>>>
>>>> The problem I met is that when the senders begin to send messages,
>>>> there is always a period (about 5-6s) during which the latency is up to 2s,
>>>>
>>>
>> That is indeed high latency. Hard to know what it can be without doing
>> profiling and measurements.
>>
>>
>>> then the latency becomes 40ms+.
>>>>
>>>
>> What serialization do you use for the messages?
>>
>
>> /Patrik
>>
>>
>>>
>>>> I want to know why, because I really want to get rid of the high
>>>> latency period, or else at least I want to know how I can decrease the
>>>> latency a bit.
>>>>
>>>> The ActorRef of the receiver is sent to each sender by another actor in
>>>> another ActorSystem, so there is no connection between sender ActorSystem
>>>> and receiver ActorSystem. Is this the reason?
>>>>
>>>> Anyone please help me, :(
>>>>
>>>>  --
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ:
>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>> >>>>>>>>>> Search the archives:
>>> https://groups.google.com/group/akka-user
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Akka User List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>>
>> Patrik Nordwall
>> Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
>> Twitter: @patriknw
>>
>>   --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Akka Team
Typesafe - Reactive apps on the JVM
Blog: letitcrash.com
Twitter: @akkateam

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to