Reactive Programming Patterns with Java 8 Futures

preview_player
Показать описание
Reactive and asynchronous programming is the latest hype for web development. Why block a thread on a database query when the CPU could be looking at the next one? While Asynchronous programming can help improve total throughput on a mult-core machine, the current state of the art lacks common patterns for how to define an asynchronous flow.

That’s all changed with JEP 155 and the new CompletableFuture in JDK8.

This talk covers the new patterns in asynchronous programming, from joining together a series of asynchronous operations to chaining a pipeline of asynchronous tasks. We’ll present a few core abstractions from functional programming that help define asynchronous workflow.

Author:
Joshua Suereth
Josh Suereth is a Senior Software Engineer at Typesafe and the author of "Scala In Depth". He has been a Scala enthusiast ever since he came to know this beautiful language in 2007. He started his professional career as a software developer in 2004, cutting his teeth with C++, STL and Boost. Around the same time, Java fever was spreading and his interest was migrating to web-hosted distributed Java-delivered solutions to aide health departments discover the outbreaks of disease. Everything from EJB to Hibernate/Spring and even some Applets. He introduced Scala into his company code base first in 2007 and soon after he was infected by Scala fever, contributing to the Scala IDE, maven-scala-plugin and Scala itself. In 2009 he began writing the book "Scala In Depth" which provides practical support for using Scala in every day applications. Today, Josh is the author of several open source scala projects, including the scala automated resource management library, the PGP sbt plugin, as well as contributing to key components in the Scala ecosystem, like the maven-scala-plugin. His current work at Typesafe Inc. has him doing anything from building MSIs to profiling performance issues. Josh regularly shares his expertise in articles and talks.
Рекомендации по теме