-
Course
- Core Tech
Scaling Java Applications Through Concurrency
Distributed systems and multi-core platforms are far too prevalent now to dismiss everyday concurrency. This course outlines several concurrency patterns that the Java Concurrency API simplifies, making it much easier to scale your Java application.
What you'll learn
There are several gems inside the existing concurrency API that have been hiding in the background for years, waiting to be discovered by curious software engineers. The existing Java Concurrency API makes it much easier to build a Java application that is scalable and performant without having to settle for lots of low-level wait-notify usage or lots of locking using the synchronized keyword. In this course, Scaling Java Applications Through Concurrency, you'll cover several concurrency patterns simplified by the Java Concurrency API; these patterns will make scaling new and existing Java applications simpler than ever. First, you'll learn about how the Java Concurrency API has changed scalability and how to run processes in the background. Next, you'll cover classes that will help you avoid mistakes like lost updates when sharing resources. Finally, you'll discover how to coordinate dependent processes and implementing throttling. By the end of this course, you will be able to easily scale your Java applications through concurrency so that they work better and faster.
Table of contents
- The Fire-and-Forget Pattern | 3m 14s
- Introducing ThreadPoolExecutor | 3m 54s
- Implementing Fire-and-Forget Using ThreadPoolExecutor | 6m 36s
- Introducing ForkJoinPool | 1m 49s
- Implementing Fire-and-Forget Using ForkJoinPool | 59s
- Introducing Threaded Recursion with ForkJoinPool and BlockingQueue | 2m 2s
- Implementing Fire-and-Forget Using Threaded Recursion | 3m 42s
- Conclusion | 42s
About the author
Like many software craftsmen, Josh eats, sleeps, and dreams in code. He codes for fun, and his kids code for fun! Right now, Josh works as a full-time committer on Spring Security and loves every minute.
More Courses by Josh