Enterprise Integration Zone is brought to you in partnership with:

Mitch Pronschinske is the Lead Research Analyst at DZone. Researching and compiling content for DZone's research guides is his primary job. He likes to make his own ringtones, watches cartoons/anime, enjoys card and board games, and plays the accordion. Mitch is a DZone Zone Leader and has posted 2578 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
| 4701 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