Skip to content

Add A Howto Page About Concurrency in Python #123152

Description

@ericsnowcurrently

It would help to have a place where the various approaches to concurrency in Python are explained and compared. It would be especially useful to enumerate the most common concurrency-oriented workloads and show how to implement them using the different concurrency models.

I expect we would cover the following concurrency models:

  • threads (threading and concurrent.futures)
  • multi-processing (multiprocessing and concurrent.futures)
  • async/await
  • CSP/actor model (PEP 734 interpreters)
  • distributed (e.g. SMP/dask)

Other related resources:

Linked PRs

Activity

  1. ericsnowcurrently commented on Sep 25, 2024

    @ericsnowcurrently
    MemberAuthor

    @BruceEckel, I have a rough draft mostly settled (see the PR). I know you've been working on a book in this area, so I'd love to get your insight. I'd be glad to hop into a call to discuss this, if you're available.

  2. BruceEckel commented on Sep 25, 2024

    @BruceEckel
    Contributor
  3. ericsnowcurrently commented on Sep 26, 2024

    @ericsnowcurrently
    MemberAuthor

    Thanks so much!

  4. BruceEckel commented on Sep 26, 2024

    @BruceEckel
    Contributor
  5. BruceEckel commented on Sep 27, 2024

    @BruceEckel
    Contributor
  6. ericsnowcurrently commented on Sep 27, 2024

    @ericsnowcurrently
    MemberAuthor

    That would be great!

  7. BruceEckel commented on Sep 30, 2024

    @BruceEckel
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

docsDocumentation in the Doc dir

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions