Hi Ivan,

I completely agree that monitoring the queues in your system (which translates 
to Actor mailboxes here) is a very useful thing to do, and the reasoning for 
removing access to the mailbox size from the Actor itself does indeed not apply 
to external monitoring. My thinking goes into the direction of using bounded 
queues way more than today—both for efficiency reasons and to maintain 
responsiveness as well (the fewer things queued before your actor, the shorter 
the response latency of that actor). The mailbox could for example fire 
monitoring events when its size crosses certain watermarks or runs full, 
alerting ops personnel of the condition immediately (where unexpected). This 
can be done extremely efficiently for an array-backed ring-buffer mailbox.

We currently don’t have resources to implement this in the core team, but I 
know that there are several skilled hakkers out there who might eventually get 
around to such a fun project ;-)

Regards,

Roland

27 mar 2014 kl. 01:52 skrev Ivan Topolnjak <[email protected]>:

> Chris, 
> 
> sorry, I didn't express myself correctly, what I wanted to say is that not 
> having constant time .size() implementations by default doesn't mean that we 
> shouldn't monitor mailbox sizes, but instead find a alternative, efficient 
> way to get those numbers, which in my opinion are very important when 
> monitoring akka actors. Glad to know you are interested in Kamon, hope you 
> find it useful and that this answer clarifies your doubt, best regards!
> 
> -- 
> >>>>>>>>>> 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.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe – Reactive apps on the JVM.
twitter: @rolandkuhn


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