sveitser / python-concurrency-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Concurrency examples

A few examples of using a concurrent.futures.ThreadPoolExector and synchronizing access to resource.

The examples assume we are concurrently fetching data from a list of URLs and storing the results in a shelve as mapping of URL => Result for URL.

About


Languages

Language:Python 93.5%Language:Nix 6.5%