I use default java serialization. It is said to be very slow. But I don't 
quite understand, could it cause this weird phenomenon?


在 2015年4月27日星期一 UTC+8上午1:45:22,Patrik Nordwall写道:
>
>
>
> On Fri, Apr 24, 2015 at 5:18 AM, 刘澜涛 <[email protected] <javascript:>> 
> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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.

Reply via email to