intermediate

Concurrency, Threads and Async Programming

Doing many things at once is where subtle bugs live. Learn concurrency versus parallelism, threads, processes and the event loop, race conditions and the lost-update problem, locks and deadlocks, async/await for I/O, and how queues and idempotency keep systems safe. Then build a tiny cooperative scheduler and see a lost update happen.

55 min

Concurrency, Threads and Async Programming

Doing many things at once is where subtle bugs live. Learn concurrency versus parallelism, threads, processes and the event loop, race conditions and the lost-update problem, locks and deadlocks, async/await for I/O, and how queues and idempotency keep systems safe. Then build a tiny cooperative scheduler and see a lost update happen.

In this lesson:

  • concurrency
  • threads
  • async
  • race-condition
  • deadlock
  • event-loop
  • python

🔒 This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

Official References

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans