Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/3705#issuecomment-67907292
> It wasn't very clear to me in which cases messages could be processed in
parallel using akka from my last read of the documentation, but guess I'm due
for a second reading. :-)
Yeah, this is kind of hard to find, but it's described in the [Actors and
the Java Memory
Model](http://doc.akka.io/docs/akka/2.0.2/general/jmm.html#Actors_and_the_Java_Memory_Model)
section:
> **The actor subsequent processing rule**: processing of one message
happens before processing of the next message by the same actor.
To get parallelism, the Akka solution is to use multiple actors. That
said, people do [mix the actor model with other concurrency
models](http://osl.cs.illinois.edu/publications/conf/ecoop/TasharofiDJ13.html),
so it pays to be careful here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]