Have a personal or library account? Click to login
Concurrent Patterns and Best Practices Cover

Concurrent Patterns and Best Practices

Build scalable apps in Java with multithreading, synchronization and functional programming patterns

Paid access
|Oct 2018
Product purchase options

A definitive guide to implementing concurrency patterns in your applications

Key Features

  • Learn functional programming patterns to write clear and high quality code
  • Explore parallel programming and multithreading techniques to make your code run faster
  • Efficiently use thread pools, actors patterns, and threading patterns to build reliable applications

Book Description

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.

What you will learn

  • Explore parallel architecture
  • Get to grips with concurrency models to optimize your code s performance
  • Explore important concurrency patterns in the Java multithreading library
  • Gain insights into concurrent design patterns
  • Discover design principles behind a variety of thread abstractions in Java
  • Apply functional concurrency patterns to address issues with threads and locks

Who this book is for

If you’re a developer with foundational programming knowledge and want to learn patterns to build scalable and high performing apps, this guide is a must-have.

Table of Contents

  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
https://github.com/packtpublishing/concurrent-patterns-and-best-practices
PDF ISBN: 978-1-78862-954-6
Publisher: Packt Publishing Limited
Copyright owner: © 2018 Packt Publishing Limited
Publication date: 2018
Language: English
Pages: 264