Skip to main content

Module for distributing jobs to a pool of worker threads.

Project description

Performing tasks in many threads made fun!

This module facilitates distributing simple operations into jobs that are sent to worker threads, maintained by a pool object.

It consists of these components:

  1. Jobs, which are single units of work that need to be performed.

  2. Workers, who grab jobs from a queue and perform them.

  3. Worker pool, which keeps track of workers and the job queue.

Have a look at the mass downloader example on github to get started.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

workerpool-0.9.2.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file workerpool-0.9.2.tar.gz.

File metadata

  • Download URL: workerpool-0.9.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for workerpool-0.9.2.tar.gz
Algorithm Hash digest
SHA256 ab2eaf05e236140c62c7411d13ecc4ddedc365966282719a35afc53043c00f82
MD5 42904070f1a58f2a7b7276b22134375b
BLAKE2b-256 edf99738d99c9cf712bd3ac01f0ebf26538beaf8d048bc9f455e4e2ded57ab8f

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page