News for hackers. Stuff that matters.
Re:Things You Didn’t Know About Synchronization in Java and ... by asperous on Thursday August 15, 2013 @02:00PM (#6219535)
You mean internally? The paradigm they use is immutable-message passing and asynchronous/concurrent processing.
Re:Things You Didn’t Know About Synchronization in Java and ... by kasey_junk on Thursday August 15, 2013 @03:12PM (#6219935)
Yes internally. Somewhere deep in the bowels of the akka code, they are communicating state between threads (last I checked they were using a java concurrent queue by default).

At a bare minimum the changes to the location of the head/tail of a queue will need to be visible to multiple threads requiring volatile variables.

The java concurrent queues don't actually use synchronization blocks, they use native CAS operations but thinking that akka removes shared thread state entirely is dangerous.