Re:Akka Futures In Scala With A Simple Example
by mzl on Monday January 14, 2013 @04:41AM
(#5053962)
While the Future abstraction in Scala is very nice, it is unfortunately not very good in a multi-threaded context. The implementation of Futures contains a lock that, IIRC, locks the outermost object they are contained in. For us, this led to lots of serialization of code that should and could run in parallel. We've unforunately had to remove all our use of Futures until the implementation matches the expected behaviour.
[ Parent
| on HN ]
Re:Akka Futures In Scala With A Simple Example
by reddit_clone on Monday January 14, 2013 @12:13PM
(#5055477)
TIL. I was under the impression that they all ran (more or less) in parellel.