You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kamon...@googlegroups.com
Hello Eax,
I'm glad that you mentioned this as I just realized that you will get some sort of unexpected metrics when messages are stashed: When a message arrives for the first time it is measured as any normal message would, meaning that the time-in-mailbox and processing-time metrics are recorded. If the message is stashed then the whole Envelope is kept in the stash and once unstashed then the messages are put back into the mailbox, meaning that they will go again through the normal processing path and the time-in-mailbox and processing-time metrics will be recorded again, but this time, since the envelope is the same as the initial one then the time-in-mailbox that gets recorded is not counting since the message was stashed or put back in the queue, but rather since it was initially put in the actor's mailbox.
To me, that time-in-mailbox measurement is really unexpected, specially because it is very likely that stashed-time will have a different behavior to actual time-in-mailbox for a given actor and mixing both kinds of recordings in the same metric will render it useless.. now, how to solve this issue? my current idea would be add a new metric called "time-in-stash" that would reflect exactly what it says and additionally reset the capture time on the envelope so that once a message is unstashed and put back into the mailbox the time-in-mailbox will again reflect exactly what it is, the time in the mailbox :)... how that sounds to you?
I'm not a fan of using Stash so I don't have real world experience on patterns in which people use it, but I guess that the proposed solution would be a decent one. Hope to hear your feedback, regards!
Eax Melanhovich
unread,
Aug 25, 2015, 2:10:45 AM8/25/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ivan Topolnjak, kamon...@googlegroups.com
Hello, Ivan.
Sounds reasonable :)
Ivan Topolnjak
unread,
Aug 25, 2015, 6:04:56 AM8/25/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message