Enterprise Integration Zone is brought to you in partnership with:

Mitch Pronschinske is a Senior Content Analyst at DZone. That means he writes and searches for the finest developer content in the land so that you don't have to. He often eats peanut butter and bananas, likes to make his own ringtones, enjoys card and board games, and is married to an underwear model. Mitch is a DZone Zone Leader and has posted 2569 posts at DZone. You can read more from them at their website. View Full User Profile

Functional Patterns for the Asynchronous Web

04.19.2013
| 4171 views |
  • submit to reddit

Asynchronous programming is the latest hype for web development. While Asynchronous programming can help improve total throughput on a multi-core machine, the current state of the art lacks common patterns for how to define asynchronous flow.

In this presentation from the 2013 Northeast Scala Symposium, Typesafe's Josh Suereth covers those patterns, from joining together a series of asynchronous operations to chaining a pipeline of asynchronous tasks. Josh discusses a few core abstractions that help define asynchronous workflow (applicative functors, monads, traversal), then uses these same abstractions to test the same flows synchronously.

** Visit our site for more content on Scala, including the rest of the presentations from NE Scala 2013: http://marakana.com/s/tags/scala