Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add A Howto Page About Concurrency in Python #123152

Open
ericsnowcurrently opened this issue Aug 19, 2024 · 7 comments
Open

Add A Howto Page About Concurrency in Python #123152

ericsnowcurrently opened this issue Aug 19, 2024 · 7 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@ericsnowcurrently
Copy link
Member

ericsnowcurrently commented Aug 19, 2024

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

@ericsnowcurrently
Copy link
Member Author

@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.

@BruceEckel
Copy link
Contributor

BruceEckel commented Sep 25, 2024 via email

@ericsnowcurrently
Copy link
Member Author

Thanks so much!

@BruceEckel
Copy link
Contributor

BruceEckel commented Sep 26, 2024 via email

@BruceEckel
Copy link
Contributor

BruceEckel commented Sep 27, 2024 via email

@ericsnowcurrently
Copy link
Member Author

That would be great!

@BruceEckel
Copy link
Contributor

BruceEckel commented Sep 30, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants