PNWS 2014 - Building a Better Future: Advanced Error Handling for Concurrent Programming with Scalaz

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=tU4pU5vaddU



Duration: 29:06
538 views
5


By, Jean-Rémi Desjardins & Eddie Carlson

Here at Whitepages, we are redesigning a search system that must execute tasks concurrently, while providing smart flow-control and recovery in the presence of failures.

We need a nuanced handling of errors for a variety of failure modes, which standard Futures alone do not provide. The system must also support timeouts at multiple levels in a way that allows recovery of useful information. Furthermore, the plan definition code must be clear, concise, and correct.

In order to achieve the above goals in a functional and type-safe manner, we need a new, powerful abstraction. We decided to build a new future for ourselves! We would very much like to talk about our experience using and adapting Scalaz and Shapeless to implement functional, multi-faceted error handling of concurrent tasks.

Help us caption & translate this video!

http://amara.org/v/FoG5/




Other Videos By Confreaks


2014-12-18RubyConf 2014 - On The Outside Looking In by Cindy Backman
2014-12-17PNWS 2014 - Rapture: The Art of the One-Liner
2014-12-16RubyConf 2014 - 'Good Luck With That' : Tag Teaming Civic Data by Liz Rush & Hsing-Hui Hsu
2014-12-16RubyConf 2014 - Polishing Ruby by Olivier Lacan
2014-12-16RubyConf 2014 - Programming, Education, and the American Dream by Liz Abinante
2014-12-16RubyConf 2014 - Ruby After Rails by Ernie Miller
2014-12-16RubyConf 2014 - 2 + Cats = 4 * Cute: How Math Works in Ruby by Chris Hoffman
2014-12-15PNWS 2014 - What every (Scala) programmer should know about category theory
2014-12-15PNWS 2014 - Towards a Safer Scala
2014-12-15PNWS 2014 - Composing Project Archetypes with SBT AutoPlugins
2014-12-15PNWS 2014 - Building a Better Future: Advanced Error Handling for Concurrent Programming with Scalaz
2014-12-15PNWS 2014 - Unruly Creatures: Strategies for dealing with Real Numbers
2014-12-15PNWS 2014 - Hands-on Scala.js
2014-12-15PNWS 2014 - One Year of Akka
2014-12-15PNWS 2014 - What's new since Programming in Scala
2014-12-15PNWS 2014 - Adding Tree and Tree: Distributed Decision Tree Learning
2014-12-15PNWS 2014 - The First Hit is Always Free: A Skeptic's Look at scalaz' Gateway Drugs
2014-12-12PNWS 2014 - Miniboxing: JVM Generics without the overhead
2014-12-12PNWS 2014 - Apache Spark II: Streaming Big Data Analytics with Team Apache, Scala & Akka
2014-12-12PNWS 2014 - Apache Spark I: From Scala Collections to Fast Interactive Big Data with Spark
2014-12-12PNWS 2014 - Don’t cross the streams