[akka-user] Re: research about concurrency bugs

2016-09-07 Thread Guido Medina
Hmm, as an example, look at end of it and try to share a mutable message. Create a message with an ArrayList and send it to several actors, then try to modify and iterate over such list and you will probably (eventually) get a concurrent modification exception. That's one example I can think of,

[akka-user] Re: research about concurrency bugs

2016-09-07 Thread Guido Medina
Hi Carmen, The following might not have a specific example but will probably help you seeing in details the design concepts behind Akka combined with the Java Memory Model, most of the aspects you have mentioned are avoided but maybe there is a way to reproduce one or two by contradicting the a

[akka-user] Re: research about concurrency bugs

2016-09-01 Thread Dagny T
Hey Carmen, I'm a Scala/Akka Newbie; but I think the idea in Scala is to use Actors to avert most concurrency bugs. So, essentially (Akka) Actors are things that can hold their own state, like Objects in traditional OOP languages. External Entities can Message to Actor references to signal it t