Grokking Concurrency

you own this product
  • November 2023
  • ISBN 9781633439771
  • 304 pages
  • printed in black & white

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Grokking Concurrency
Look inside
This easy-to-read, hands-on guide demystifies concurrency concepts like threading, asynchronous programming, and parallel processing in any language.

Perplexed by concurrency? Don’t be. This engaging, fully-illustrated beginner’s guide gets you writing the kind of high-performance code your apps deserve. Inside, you’ll find thorough explanations of concurrency’s core concepts—all explained with interesting illustrations, insightful examples, and detailed techniques you can apply to your own projects.

In Grokking Concurrency you will:

  • Get up to speed with the core concepts of concurrency, asynchrony, and parallel programming
  • Learn the strengths and weaknesses of different hardware architectures
  • Improve the sequential performance characteristics of your software
  • Solve common problems for concurrent programming
  • Compose patterns into a series of practices for writing scalable systems
  • Write and implement concurrency systems that scale to any size

Discover effective concurrency practices that will help you leverage multiple cores, excel with high loads, handle terabytes of data, and continue working after hardware and software failures. The core concepts in this guide will remain eternally relevant, whether you’re building web apps, IoT systems, or handling big data.

about the technology

Concurrency is an approach to running computer programs efficiently by separating them into tasks that can execute independently. This basic idea makes it possible to accelerate game graphics, train large AI models, rapidly scale web applications, streamline big data processing, and much more. Concurrency can get complicated, so this book gets you started gently with interesting examples, entertaining illustrations, and easy-to-follow Python code.

about the book

Grokking Concurrency is a perfectly paced introduction to the fundamentals of concurrent, parallel, and asynchronous programming. In it, you’ll learn the practices you’ll need to program multicore processors, GPUs, and other high-performance systems. Author Kirill Bobrov skips the math, jargon, and academic language and concentrates on clear, plain-English explanations.

what's inside

  • Writing and running concurrent programs
  • Patterns for performance, scalability, and resilience
  • Choosing the right hardware
  • Asynchronous communication

about the reader

Examples in Python. No prior experience with concurrency or high-performance computing required.

about the author

Kirill Bobrov is a software engineer with a passion for data engineering.

concepts explained in this book

  • Independence is the property of an entity or activity being able to proceed, operate, or vary without relying on, coordinating with, or being directed by another.
  • Sequential processing is the execution of operations one after another in a defined order, without overlapping their execution.
  • Decomposition is the process of dividing a complex problem, task, or system into smaller constituent parts that can be handled or analyzed separately.
  • Concurrency is the structuring or execution of multiple computational activities so their progress overlaps in time, whether or not they run simultaneously.
  • Parallelism is the execution of multiple independent tasks or computational operations at the same time rather than sequentially.
  • Asynchronous programming structures operations so that the initiating execution can continue or yield control without synchronously waiting for each operation to complete.
  • Synchronization is the coordination of concurrent activities, events, or system states to establish required ordering, alignment, access, or consistency relationships.
  • A thread is a distinct sequence of execution with its own control flow and state, managed or scheduled by a processor, runtime, or operating system.

See what each chapter teaches

I recommend Grokking Concurrency as a gentle introduction to creating programs that perform on today’s highly parallel architectures.

Robert Robey, Los Alamos National Laboratory

This book combines computer architecture, operating systems, distributed computing, analysis, algorithms, and design. Anyone building a concurrent application should read this book first.

David Beazley, Author of Python Cookbook and Python Distilled

A comprehensive, accessible, and practical overview of concurrent programming. It clarifies concepts like parallelism, race conditions, deadlocks, and more.

Arnaud Bailly, IOG
Close
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Grokking Concurrency Grokking Concurrency ebook for free
Close
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Grokking Concurrency Grokking Concurrency ebook for free
Close
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Grokking Concurrency Grokking Concurrency ebook for free