The Python Oracle

Multiprocessing vs Threading Python

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: The Builders

--

Chapters
00:00 Question
00:28 Accepted answer (Score 874)
01:06 Answer 2 (Score 955)
03:14 Answer 3 (Score 259)
04:48 Answer 4 (Score 104)
09:28 Thank you

--

Full question
https://stackoverflow.com/questions/3044...

Question links:
[multiprocessing]: http://docs.python.org/library/multiproc...
[threading]: http://docs.python.org/library/threading

Answer 3 links:
[What are the differences between the threading and multiprocessing modules?]: https://stackoverflow.com/questions/1811...
[What is the global interpreter lock (GIL) in CPython?]: https://stackoverflow.com/questions/1294...
[8 hyperthread]: https://superuser.com/questions/133082/w...
[image]: https://i.stack.imgur.com/2x04m.png
[Plot data]: https://gist.github.com/cirosantilli/46c...
[What do 'real', 'user' and 'sys' mean in the output of time(1)?]: https://stackoverflow.com/questions/5564...
[GitHub upstream + plotting code on same directory]: https://github.com/cirosantilli/python-c...
https://rohanvarma.me/GIL/
[target=]: https://docs.python.org/3/library/thread...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #multithreading #multiprocessing

#avk47