Grokking Concurrency

  • 3h 49m
  • Kirill Bobrov
  • Manning Publications
  • 2024
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.

Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.

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.

About the Author

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

In this Book

  • About This Book
  • Introducing Concurrency
  • Serial and Parallel Execution
  • How Computers Work
  • Building Blocks of Concurrency
  • Interprocess Communication
  • Multitasking
  • Decomposition
  • Solving Concurrency Problems: Race Conditions and Synchronization
  • Solving Concurrency Problems: Deadlocks and starvation
  • Nonblocking I/O
  • Event-Based Concurrency
  • Asynchronous Communication
  • Writing Concurrent Applications
  • Epilogue