Asynchronous Programming with Python: Write, Test, and Debug Robust Asynchronous Code

  • CategoryOther
  • TypeTutorials
  • LanguageEnglish
  • Total size237.1 MB
  • Uploaded Bytutsnode
  • Downloads199
  • Last checkedJan. 12th '21
  • Date uploadedJan. 09th '21
  • Seeders 16
  • Leechers4

Infohash : F9FB965835E998B0A3F13ED718AF389542236BD7


Description

In this course, we will look at using asynchronous programming in Python: the options, pitfalls, and best practices. We start with multi-threading, which is particularly useful when there is a lot of waiting, e.g. for HTTP requests or disk access. With multi-threading, you can start many requests in quick succession and then wait for all of them to complete at once. Next, the course will show you how to write your code in a thread-safe manner, and how to use it risk-free. Further, it covers Python’s global interpreter lock, which prevents a lot of serious problems in Python but also stops you from running threads in parallel.
Going forward we discover how you can use Python’s multiprocessing library to run functions in parallel. Threads and processes often need to share or exchange data. In asynchronous code just passing Python objects is usually not the safest way to do this. This course looks at the main ways to do this correctly in Python, such as queues and events. Finally, the course moves on to the concurrent.future library which contains higher-level abstractions, including thread and processing pools and an asynchronous map function.

The course finishes with advice on how to write robust asynchronous code, and how to test and debug it.

What You Will Learn

Take advantage of multi threading (concurrency) using the threading module
Implement multi processing (parallelism) using the multiprocessing module
Understand inter-process communication and data sharing using locks, queues, semaphores, barriers, events, and timers
Test and debug asynchronous Python code
Understand thread and process pools using concurrent.futures
Who This Video Is For
Intermediate to experienced Python programmers who want to speed up existing Python code by using multi processing and multi threading.

Files:

Asynchronous Programming with Python - Write, Test, and Debug Robust Asynchronous Code [TutsNode.com] - Asynchronous Programming with Python
  • 01-Overview.mp4 (36.7 MB)
  • 04-Race Conditions.en.srt (16.0 KB)
  • 13-The Concurrent Futures Library.en.srt (13.6 KB)
  • 11-Semaphores, Events, Timers and Barriers.en.srt (11.3 KB)
  • 03-Returning Values from a Thread.en.srt (2.7 KB)
  • 10-Queues.en.srt (9.7 KB)
  • 06-Deadlocks and Starvation.en.srt (8.3 KB)
  • 16-Debugging Asynchronous Code.en.srt (4.4 KB)
  • 04-Race Conditions.mp4 (27.8 MB)
  • 07-Simple Multi-processing.en.srt (6.6 KB)
  • 01-Overview.en.srt (6.7 KB)
  • 15-Testing Asynchronous Code.en.srt (6.4 KB)
  • 14-Writing Robust Code.en.srt (6.1 KB)
  • 05-Locks.en.srt (5.8 KB)
  • 08-Returning Values.en.srt (4.3 KB)
  • 02-Threading Library.en.srt (3.2 KB)
  • 09-Locks with Multi-processing.en.srt (4.0 KB)
  • 12-Process and Thread Pools.en.srt (2.3 KB)
  • 17-Conclusion.en.srt (2.2 KB)
  • 13-The Concurrent Futures Library.mp4 (26.8 MB)
  • 10-Queues.mp4 (22.3 MB)
  • 06-Deadlocks and Starvation.mp4 (18.1 MB)
  • 11-Semaphores, Events, Timers and Barriers.mp4 (18.0 MB)
  • 07-Simple Multi-processing.mp4 (12.9 MB)
  • 05-Locks.mp4 (11.2 MB)
  • 15-Testing Asynchronous Code.mp4 (11.0 MB)
  • 08-Returning Values.mp4 (9.7 MB)
  • 14-Writing Robust Code.mp4 (8.9 MB)
  • 02-Threading Library.mp4 (7.1 MB)
  • 16-Debugging Asynchronous Code.mp4 (6.4 MB)
  • 09-Locks with Multi-processing.mp4 (6.2 MB)
  • 03-Returning Values from a Thread.mp4 (5.4 MB)
  • 17-Conclusion.mp4 (3.5 MB)
  • 12-Process and Thread Pools.mp4 (3.3 MB)
  • TutsNode.com.txt (0.1 KB)
  • [TGx]Downloaded from torrentgalaxy.to .txt (0.6 KB)
  • .pad
    • 0 (0.8 KB)
    • 1 (131.4 KB)
    • 2 (219.8 KB)
    • 3 (212.3 KB)
    • 4 (163.4 KB)
    • 5 (47.7 KB)
    • 6 (92.5 KB)
    • 7 (55.3 KB)
    • 8 (254.7 KB)
    • 9 (88.3 KB)
    • 10 (98.7 KB)
    • 11 (145.6 KB)
    • 12 (152.7 KB)
    • 13 (29.7 KB)
    • 14 (65.8 KB)
    • 15 (33.3 KB)

Code:

  • udp://inferno.demonoid.pw:3391/announce
  • udp://tracker.openbittorrent.com:80/announce
  • udp://tracker.opentrackr.org:1337/announce
  • udp://torrent.gresille.org:80/announce
  • udp://glotorrents.pw:6969/announce
  • udp://tracker.leechers-paradise.org:6969/announce
  • udp://tracker.pirateparty.gr:6969/announce
  • udp://tracker.coppersurfer.tk:6969/announce
  • udp://ipv4.tracker.harry.lu:80/announce
  • udp://9.rarbg.to:2710/announce
  • udp://shadowshq.yi.org:6969/announce
  • udp://tracker.zer0day.to:1337/announce