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

Update docs for multiprocessing #1117

Merged
merged 1 commit into from
Jun 6, 2017

Conversation

JordonPhillips
Copy link
Contributor

Our docs already give advice about multithreading, but did not give
any advice about multiprocessing. This explicitly calls out that the
reccomendations for multithreading and multiprocessing are the same.

cc @kyleknap @jamesls @stealthycoin @dstufft

@JordonPhillips JordonPhillips added the pr/needs-review This PR needs a review from a member of the team. label Jun 6, 2017
It is recommended to create a resource instance for each thread in a multithreaded application rather than sharing a single instance among the threads. For example::
Multithreading / Multiprocessing
--------------------------------
It is recommended to create a resource instance for each thread / process in a multithreaded application rather than sharing a single instance among the threads / processes. For example::
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this say "in a multi threaded or multi process application"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Our docs already give advice about multithreading, but did not give
any advice about multiprocessing. This explicitly calls out that the
reccomendations for multithreading and multiprocessing are the same.
@JordonPhillips JordonPhillips merged commit cb6a49a into boto:develop Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/needs-review This PR needs a review from a member of the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants