Video description
Reactive and asynchronous applications are growing in popularity, but what is the best way to build them? This course teaches you how to apply the latest concurrency techniques to develop state of the art Java applications. With the rise of microservices and service oriented architecture (SOA), asynchronous concurrency is now critical to day-to-day Java development. This video, designed for software architects and intermediate- to advanced-level Java developers, begins by reviewing the differences between asynchronous and synchronous programming. It then looks at the problems Java programmers currently have when using different synchronous programming models before diving deep into non-blocking I/O, timeouts, circuit breakers, and the different approaches to concurrency.
- Discover the primary bottlenecks and pitfalls around programming synchronous Java applications
- Understand the benefits of working with asynchronous programming techniques
- Learn to write Java code that fits into a SOA/microservices communication pattern
- Gain experience programming event-driven, reactive code in Java
Richard Warburton is a software engineer, teacher, and Java Champion. He’s worked as a developer in such diverse areas as low latency trading systems, statistical analytics, static analysis, compilers, and network protocols. Author of Java 8 Lambdas (O'Reilly Media), Richard holds a PhD in Computer Science from The University of Warwick.
Raoul-Gabriel Urma is CEO of Cambridge Spark, a learning community for data scientists and developers in the UK. Co-author of Java 8 in Action (Manning Publications), Raoul has delivered over 100 technical talks at international conferences. He's worked for Google, eBay, Oracle, and Goldman Sachs, and holds a PhD in Computer Science from the University of Cambridge.
Table of contents
- Introduction + Thread Pools and Blocking I/O
- The Problem with Blocking I/O
- Introduction to Non-Blocking I/O
- Using Non-Blocking I/O with Callbacks
- Refactoring to Non-Blocking I/O
- Composing Callbacks
- Composing Callbacks Exercise
- Why do we need Timeouts?
- Implementing Timeouts
- Retrying Failures
- Circuit Breakers
- Retry Exercise
- Summary
- Approaches to Concurrency
Product information
- Title: Asynchronous Programming in Java
- Author(s):
- Release date: September 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491990117
You might also like
book
Mastering Concurrency Programming with Java 8
Master the principles and techniques of multithreaded programming with the Java 8 Concurrency API About This …
book
Java 9 Concurrency Cookbook - Second Edition
Master the art of fast, effective Java development with the power of concurrent and parallel programming …
video
Programming Promises in Java 8 Using Completable Futures
Reactive and asynchronous applications are growing in popularity, but what is the best way to build …
book
Java Threads and the Concurrency Utilities
This concise book empowers all Java developers to master the complexity of the Java thread APIs …