Hi,
I'm doing nothing in the third actor. Once received the message is simple 
discarded. I'm simply doing a tell on the actor and passing the message 
through it.

One of the major reasons I posted this thread was to help my self 
understand the Visual VM. I'm not clear what the various dispatcher with 
numbers that appear in my snapshot signify. What are these entries? Why are 
the there? 
My code is using  single ActorSystem.



On Sunday, November 16, 2014 7:27:05 AM UTC+5:30, Soumya Simanta wrote:
>
> How are you "saving" the record in actor3 ? 
> How are you passing the messages between the actors ? I mean do you have 
> any code waits in the receive of any of the actors? 
> Can you see how frequently is your GC invoked and how it changes with the 
> size of the message? 
>
>
>
> On Thursday, November 13, 2014 12:59:07 AM UTC-5, Gaurav Sharma wrote:
>>
>> Hi,
>> I have a single node system where I'm having three actors. This node is 
>> running on a single port. I'm simply passing data and my message flow is:
>>
>> actor1 -> actor2 -> actor3
>>
>> Now actor actor3 is created within actor 1. Its a flow where I send a 
>> record from actor1 to actor2 and then it comes to actor3 where the record 
>> is clubbed and saved. In my current code, I'm not doing anything specific 
>> and only passing a string of size 5987 bytes 25k times a second.
>>
>> But, what happens is that my system hangs after a while and the same runs 
>> fine when the string is very small like "demo". I'm inspecting the system 
>> using Jvisual VM and I noticed a very strange thing today. Most of my 
>> threads where in wait situation, the socket.accept took most of the time.
>>
>> So, I need some help in understanding the image below - 
>>
>>
>> <https://lh5.googleusercontent.com/-pn9ILkRLSuw/VGRGG3vNTPI/AAAAAAAABo4/DRyTqq9gT9w/s1600/Screenshot%2Bfrom%2B2014-11-13%2B10%3A31%3A26.png>
>>
>> 1. What is the ClusterSystem-akka.actor.default.dispatcher-4 or other 
>> number - I understand that it is related to my cluster (ClusterSystem) but 
>> not clear what it represents over here as there are multiple entries for it.
>> 2. In the above image most of the dispatchers are in yellow color, so 
>> does that mean that all the dispatchers are waiting? But, in my code I'm 
>> just passing message from one actor to other then what are they waiting for?
>>
>>
>> Could remoting be a hit over here? But, I'm using a single actor system 
>> for all the three actors...
>>
>>
>>
>>

-- 
>>>>>>>>>>      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