First idea: Implement the mailbox using an actor

Actor1 sends messages to ActorRef2

To simulate drop message, replace ActorRef2 by ActorRef3 that points to an
actor that forwards message to ActorRef2, but randomly it "lost" some
message.

Angel "Java" Lopez
@ajlopez


On Mon, Jan 27, 2014 at 9:17 AM, Akka Team <[email protected]> wrote:

> Hi Tino,
>
> There is no such Mailbox implemented right now, but there are plans to do
> something like that. We have quite a bit of testing tools for
> remoting/cluster that emulate various networking problems including
> completely crazy scenarios. It is not very much documented though and I
> think they will see some refactoring in the future.
>
> -Endre
>
>
> On Wed, Jan 22, 2014 at 1:30 AM, Tino Adams <[email protected]> wrote:
>
>> Hi
>>
>> I understand that Akka, like other actor implementations, provides a
>> at-most-once delivery guarantee.
>> I was wondering if Akka is shipped with a mailbox implementation which
>> randomly drops messages for testing purposes.
>>
>> How do you guys test your systems for potential message loss, unit tests
>> only?
>>
>> Cheers
>> Tino
>>
>> --
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
>> >>>>>>>>>> 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/groups/opt_out.
>>
>
>
>
> --
> Akka Team
> Typesafe - The software stack for applications that scale
> Blog: letitcrash.com
> Twitter: @akkateam
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> 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/groups/opt_out.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      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/groups/opt_out.

Reply via email to