Popis: |
A definitive guide to implementing concurrency patterns in your applicationsKey FeaturesLearn functional programming patterns to write clear and high quality codeExplore parallel programming and multithreading techniques to make your code run fasterEfficiently use thread pools, actors patterns, and threading patterns to build reliable applicationsBook DescriptionSelecting 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 learnExplore parallel architectureGet to grips with concurrency models to optimize your code s performanceExplore important concurrency patterns in the Java multithreading libraryGain insights into concurrent design patternsDiscover design principles behind a variety of thread abstractions in JavaApply functional concurrency patterns to address issues with threads and locksWho this book is forIf 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. |