Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering Concurrency in Python

You're reading from   Mastering Concurrency in Python Create faster programs using concurrency, asynchronous, multithreading, and parallel programming

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781789343052
Length 446 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Quan Nguyen Quan Nguyen
Author Profile Icon Quan Nguyen
Quan Nguyen
Arrow right icon
View More author details
Toc

Table of Contents (28) Chapters Close

Title Page
Copyright and Credits
Dedication
About Packt
Contributors
Preface
1. Advanced Introduction to Concurrent and Parallel Programming FREE CHAPTER 2. Amdahl's Law 3. Working with Threads in Python 4. Using the with Statement in Threads 5. Concurrent Web Requests 6. Working with Processes in Python 7. Reduction Operators in Processes 8. Concurrent Image Processing 9. Introduction to Asynchronous Programming 10. Implementing Asynchronous Programming in Python 11. Building Communication Channels with asyncio 12. Deadlocks 13. Starvation 14. Race Conditions 15. The Global Interpreter Lock 16. Designing Lock-Based and Mutex-Free Concurrent Data Structures 17. Memory Models and Operations on Atomic Types 18. Building a Server from Scratch 19. Testing, Debugging, and Scheduling Concurrent Applications 1. Assessments 2. Other Books You May Enjoy Index

Chapter 1. Concurrent and Parallel Programming - An Advanced Introduction

The first chapter of Mastering Concurrency in Python provides an overview of what concurrent programming is in contrast to sequential programming, while briefly discussing the difference between a program that could be made concurrent, and one that cannot. We will go over the history of concurrent engineering and programming, and a number of examples on how concurrent programming is being used in the present day. Finally, the chapter gives a brief introduction of the approach taken in this book, including an outline of the chapter structure as well as detailed instructions on how to download the code and create a working Python environment.

The following topics will be covered in this chapter:

  • The concept of concurrency
  • Why some programs cannot be made concurrent, and how to tell them from ones that can
  • The history of concurrency in computer science, how it is being used in the industry today, and what can be expected in the future
  • Which specific topics each section/chapter of the book covers
  • How to set up a Python environment and how to check out/download code from GitHub
You have been reading a chapter from
Mastering Concurrency in Python
Published in: Nov 2018
Publisher: Packt
ISBN-13: 9781789343052
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Banner background image