E-book details

Concurrent Patterns and Best Practices. Build scalable apps in Java with multithreading, synchronization and functional programming patterns

Concurrent Patterns and Best Practices. Build scalable apps in Java with multithreading, synchronization and functional programming patterns

Atul S. Khot

Ebook
Selecting the correct concurrency architecture has a significant impact on the design and performance of your applications. Concurrent design patterns help you understand the different characteristics of parallel architecture to make your code faster and more efficient.

This book will help Java developers take a hands-on approach to building scalable and distributed apps by following step-by-step explanations of essential concepts and practical examples. You’ll begin with basic concurrency concepts and delve into the patterns used for explicit locking, lock-free programming, futures, and actors.

You’ll explore coding with multithreading design patterns, including master, slave, leader, follower, and map-reduce, and then move on to solve problems using synchronizer patterns. You'll even discover the rationale for these patterns in distributed and parallel applications, and understand how future composition, immutability, and the monadic flow help you create more robust code.
By the end of the book, you’ll be able to use concurrent design patterns to build high performance applications confidently.
  • 1. Concurrency - a kick start introduction
  • 2. A taste of some concurrency patterns
  • 3. More threading patterns
  • 4. Thread Pools
  • 5. Increasing the Concurrency
  • 6. Functional Concurrency Patterns
  • 7. Actor Patterns
  • Title: Concurrent Patterns and Best Practices. Build scalable apps in Java with multithreading, synchronization and functional programming patterns
  • Author: Atul S. Khot
  • Original title: Concurrent Patterns and Best Practices. Build scalable apps in Java with multithreading, synchronization and functional programming patterns
  • ISBN: 9781788629546, 9781788629546
  • Date of issue: 2018-09-27
  • Format: Ebook
  • Item ID: e_1592
  • Publisher: Packt Publishing