Presented at Feb 2014 Iowa Scala Enthusiasts meetup: http://www.meetup.com/ia-scala/events/158419152/
Git repo contains runnable code samples not in slides: https://github.com/zcox/iascala-dont-block
Actors and Futures make writing concurrent, asynchronous, non-blocking, reactive applications much simpler than dealing with threads, locks and synchronization directly. However, it’s also really easy to inadvertently block in the wrong place and bring your entire system to a grinding halt. We’ll demonstrate some of the common, simple ways to destroy Akka and Spray applications, examine the internals of these libraries to explore what’s happening, and discuss some best practices they provide for avoiding these problems.