Title: Add A Howto Page About Concurrency in Python · Issue #123152 · python/cpython · GitHub
Open Graph Title: Add A Howto Page About Concurrency in Python · Issue #123152 · python/cpython
X Title: Add A Howto Page About Concurrency in Python · Issue #123152 · python/cpython
Description: 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 usin...
Open Graph Description: 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 workl...
X Description: 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 workl...
Opengraph URL: https://github.com/python/cpython/issues/123152
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add A Howto Page About Concurrency in Python","articleBody":"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.\r\n\r\nI expect we would cover the following concurrency models:\r\n\r\n* threads (`threading` and `concurrent.futures`)\r\n* multi-processing (`multiprocessing` and `concurrent.futures`)\r\n* async/await\r\n* CSP/actor model (PEP 734 `interpreters`)\r\n* distributed (e.g. SMP/dask)\r\n\r\nOther related resources:\r\n\r\n* https://github.com/faster-cpython/ideas/wiki/Tables:-Workloads\r\n* https://github.com/faster-cpython/ideas/wiki/All-About-Python-Benchmarking\r\n* https://github.com/ericsnowcurrently/concurrency-benchmarks\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-123163\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/ericsnowcurrently","@type":"Person","name":"ericsnowcurrently"},"datePublished":"2024-08-19T16:47:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/123152/cpython/issues/123152"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4423e95a-4f87-07a5-f982-d36078d413b3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CAA4:189C33:26158D:322AF2:696AD9BA |
| html-safe-nonce | da1f050543d96ef4cf88ef10ef2ebb2d2df616e39ff07cf7d2644fd944c44e16 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUE0OjE4OUMzMzoyNjE1OEQ6MzIyQUYyOjY5NkFEOUJBIiwidmlzaXRvcl9pZCI6IjY2NTAxMzU5NTMzODI0OTY2OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 192f76ef7396185ff9b249ad6bc8c2f9a849d199c803b28b70791c864dd314e7 |
| hovercard-subject-tag | issue:2473778535 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/123152/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1582bb1340e527182c501a78bfbe9a7a30e162d44e25c5e0fddd567f52f5653c/python/cpython/issues/123152 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1582bb1340e527182c501a78bfbe9a7a30e162d44e25c5e0fddd567f52f5653c/python/cpython/issues/123152 |
| og:image:alt | 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 workl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericsnowcurrently |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width