
Concurrent Patterns and Best Practices
Build scalable apps with patterns in multithreading, synchronization, and functional programming
Atul S. Khot(Author)
Packt Publishing
Published on 28. September 2018
Book
Paperback/Softback
264 pages
978-1-78862-790-0 (ISBN)
Description
A definitive guide to mastering and implementing concurrency patterns in your applications
Key Features
Build scalable apps with patterns in multithreading, synchronization, and functional programming
Explore the parallel programming and multithreading techniques to make the code run faster
Efficiently use the techniques outlined to build reliable applications
Book DescriptionSelecting the correct concurrency architecture has a significant impact on the design and performance of your applications. This book explains how to leverage the different characteristics of parallel architecture to make your code faster and more efficient.
To start with, you'll understand the basic concurrency concepts and explore patterns around explicit locking, lock free programming, futures & actors. Then, you'll get insights into different concurrency models and parallel algorithms and put them to practice in different scenarios to realize your application's true potential. We'll take you through multithreading design patterns, such as master, slave, leader, follower, map-reduce, and monitor, also helping you to learn hands-on coding using these patterns.
Once you've grasped all of this, you'll move on to solving problems using synchronizer patterns. You'll discover the rationale for these patterns in distributed & parallel applications, followed by studying how future composition, immutability and the monadic flow help create more robust code.
Toward the end of the book, you'll learn about the actor paradigm and actor patterns - the message passing concurrency paradigm.
What you will learn
Explore parallel architecture
Get acquainted with concurrency models
Internalize design themes by implementing multithreading patterns
Get insights into concurrent design patterns
Discover design principles behind many java threading abstractions
Work with functional concurrency patterns
Who this book is forThis is a must-have guide for developers who want to learn patterns to build scalable and high-performing apps. It's assumed that you already have a decent level of programming knowledge.
Key Features
Build scalable apps with patterns in multithreading, synchronization, and functional programming
Explore the parallel programming and multithreading techniques to make the code run faster
Efficiently use the techniques outlined to build reliable applications
Book DescriptionSelecting the correct concurrency architecture has a significant impact on the design and performance of your applications. This book explains how to leverage the different characteristics of parallel architecture to make your code faster and more efficient.
To start with, you'll understand the basic concurrency concepts and explore patterns around explicit locking, lock free programming, futures & actors. Then, you'll get insights into different concurrency models and parallel algorithms and put them to practice in different scenarios to realize your application's true potential. We'll take you through multithreading design patterns, such as master, slave, leader, follower, map-reduce, and monitor, also helping you to learn hands-on coding using these patterns.
Once you've grasped all of this, you'll move on to solving problems using synchronizer patterns. You'll discover the rationale for these patterns in distributed & parallel applications, followed by studying how future composition, immutability and the monadic flow help create more robust code.
Toward the end of the book, you'll learn about the actor paradigm and actor patterns - the message passing concurrency paradigm.
What you will learn
Explore parallel architecture
Get acquainted with concurrency models
Internalize design themes by implementing multithreading patterns
Get insights into concurrent design patterns
Discover design principles behind many java threading abstractions
Work with functional concurrency patterns
Who this book is forThis is a must-have guide for developers who want to learn patterns to build scalable and high-performing apps. It's assumed that you already have a decent level of programming knowledge.
More details
Language
English
Place of publication
Birmingham
United Kingdom
Target group
Professional and scholarly
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 15 mm
Weight
500 gr
ISBN-13
978-1-78862-790-0 (9781788627900)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

Atul S. Khot
Concurrent Patterns and Best Practices
Build scalable apps in Java with multithreading, synchronization and functional programming patterns
E-Book
09/2024
1st Edition
Packt Publishing Limited
€30.99
Available for download
Person
Atul S. Khot is a self-taught programmer and has written software programmes in C and C++. Having extensively programmed in Java and dabbled in multiple languages, these days, he is increasingly getting hooked on Scala, Clojure, and Erlang. Atul is a frequent speaker at software conferences and a past Dr. Dobb's product award judge. He was the author of Scala Functional Programming Patterns and Learning Functional Data Structures and Algorithms, published by Packt Publishing.
Content
Table of Contents
Concurrency - a kick start introduction
A taste of some concurrency patterns
More threading patterns
Thread Pools
Increasing the Concurrency
Functional Concurrency Patterns
Actor Patterns
Concurrency - a kick start introduction
A taste of some concurrency patterns
More threading patterns
Thread Pools
Increasing the Concurrency
Functional Concurrency Patterns
Actor Patterns