René's URL Explorer Experiment


Title: Python Concurrency: The Tricky Bits -

Open Graph Title: Python Concurrency: The Tricky Bits

X Title: Python Concurrency: The Tricky Bits

Description: An exploration of threads, processes, and coroutines in Python, with interesting examples that illuminate the differences between each.

Open Graph Description: An exploration of threads, processes, and coroutines in Python, with interesting examples that illuminate the differences between each.

X Description: An exploration of threads, processes, and coroutines in Python, with interesting examples that illuminate the differences between each.

Keywords:

Opengraph URL: https://python.hamel.dev/concurrency/

Generator: Hugo 0.76.5 with theme even

direct link

Domain: python.hamel.dev

Noneconcurrency,
rendererwebkit
theme-color#f8f5ec
msapplication-navbutton-color#f8f5ec
apple-mobile-web-app-capableyes
apple-mobile-web-app-status-bar-style#f8f5ec
authorHamel Husain
og:typearticle
og:imagehttps://python.hamel.dev/cpu.jpg
article:published_time2020-02-05T00:00:00+00:00
article:modified_time2020-02-05T00:00:00+00:00
og:site_namePython Notes
twitter:cardsummary_large_image
twitter:imagehttps://python.hamel.dev/cpu.jpg

Links:

Python Noteshttps://python.hamel.dev/
Home https://python.hamel.dev
Tags https://python.hamel.dev/tags/
About https://python.hamel.dev/about/
Python Noteshttps://python.hamel.dev/
Homehttps://python.hamel.dev
Tagshttps://python.hamel.dev/tags/
Abouthttps://python.hamel.dev/about/
concurrency https://python.hamel.dev/categories/concurrency/
Motivationhttps://python.hamel.dev/concurrency/#motivation
Prerequisiteshttps://python.hamel.dev/concurrency/#prerequisites
A cpu-bound task: Fibonaccihttps://python.hamel.dev/concurrency/#a-cpu-bound-task-fibonacci
A Simple Web Serverhttps://python.hamel.dev/concurrency/#a-simple-web-server
Testing the non-concurrent codehttps://python.hamel.dev/concurrency/#testing-the-non-concurrent-code
Threadshttps://python.hamel.dev/concurrency/#threads
Thread performance & the GILhttps://python.hamel.dev/concurrency/#thread-performance--the-gil
Threads are not just about making things fasterhttps://python.hamel.dev/concurrency/#threads-are-not-just-about-making-things-faster
How threads workhttps://python.hamel.dev/concurrency/#how-threads-work
Processes For CPU Bound Taskshttps://python.hamel.dev/concurrency/#processes-for-cpu-bound-tasks
A note for data scientists: processes vs. threadshttps://python.hamel.dev/concurrency/#a-note-for-data-scientists-processes-vs-threads
Asynchronous programminghttps://python.hamel.dev/concurrency/#asynchronous-programming
Conclusionhttps://python.hamel.dev/concurrency/#conclusion
Other Noteshttps://python.hamel.dev/concurrency/#other-notes
Terminologyhttps://python.hamel.dev/concurrency/#terminology
Resources & Thankshttps://python.hamel.dev/concurrency/#resources--thanks
1https://python.hamel.dev/concurrency/#fn:1
a data scientist who is spending more time on software engineeringhttps://hamel.dev/
2https://python.hamel.dev/concurrency/#fn:2
a live coding talkhttps://youtu.be/MCs5OvhV9S4
David Beazleyhttps://www.dabeaz.com/
the videohttps://youtu.be/MCs5OvhV9S4
Fibonacci numberhttps://en.wikipedia.org/wiki/Fibonacci_number
3https://python.hamel.dev/concurrency/#fn:3
with this tutorialhttps://ruslanspivak.com/lsbaws-part1/
the tutorialhttps://ruslanspivak.com/lsbaws-part1/
as David does in his videohttps://youtu.be/MCs5OvhV9S4?t=293
this tutorialhttps://realpython.com/intro-to-python-threading/
blockinghttps://stackoverflow.com/questions/2407589/what-does-the-term-blocking-mean-in-programming
Global Interpreter Lockhttps://wiki.python.org/moin/GlobalInterpreterLock
4https://python.hamel.dev/concurrency/#fn:4
5https://python.hamel.dev/concurrency/#fn:5
perf1.pyhttps://github.com/dabeaz/concurrencylive/blob/master/perf1.py
perf2.pyhttps://github.com/dabeaz/concurrencylive/blob/master/perf2.py
herehttps://youtu.be/MCs5OvhV9S4?t=568
perf2.pyhttps://github.com/dabeaz/concurrencylive/blob/master/perf2.py
6https://python.hamel.dev/concurrency/#fn:6
SMT/hyper-threadinghttps://en.wikipedia.org/wiki/Simultaneous_multithreading
SIMDhttps://en.wikipedia.org/wiki/SIMD
This bookhttps://www.amazon.com/Modern-Operating-Systems-Andrew-Tanenbaum/dp/013359162X
7https://python.hamel.dev/concurrency/#fn:7
perf2.pyhttps://github.com/dabeaz/concurrencylive/blob/master/perf2.py
perf1.pyhttps://github.com/dabeaz/concurrencylive/blob/master/perf1.py
section belowhttps://python.hamel.dev/concurrency/#a-note-for-data-scientists-processes-vs-threads
This tutorialhttps://realpython.com/python-concurrency
this articlehttps://realpython.com/python-concurrency/
differences in the way they workhttps://python.hamel.dev/concurrency/#how-threads-work
numpyhttps://numpy.org/
vectorizedhttps://realpython.com/numpy-array-programming/
pre-emptive multitaskinghttps://en.wikipedia.org/wiki/Preemption_%28computing%29#Preemptive_multitasking
cooperative multitaskinghttps://en.wikipedia.org/wiki/Cooperative_multitasking
coroutinehttps://www.geeksforgeeks.org/coroutine-in-python/
asynciohttps://docs.python.org/3/library/asyncio.html
NumPy and SciPyhttps://scipy.github.io/old-wiki/pages/ParallelProgramming
dequehttps://docs.python.org/3/library/collections.html#collections.deque
race conditionshttps://realpython.com/intro-to-python-threading/#race-conditions
queuehttps://docs.python.org/3/library/queue.html
fastcorehttps://fastcore.fast.ai/
parallelhttps://fastcore.fast.ai/parallel.html
GitHub repohttps://github.com/dabeaz/concurrencylive
youtube videohttps://youtu.be/MCs5OvhV9S4
pagehttps://www.dabeaz.com/
Advanced Python classhttps://www.dabeaz.com/advprog.html
this bookhttps://www.amazon.com/Modern-Operating-Systems-Andrew-Tanenbaum/dp/013359162X
8https://python.hamel.dev/concurrency/#fn:8
this free bookhttps://pages.cs.wisc.edu/~remzi/OSTEP/
this bookhttps://www.amazon.com/Advanced-Programming-UNIX-Environment-3rd/dp/0321637739
Jeremy Howardhttps://twitter.com/jeremyphoward
Dan Beckerhttps://twitter.com/dan_s_becker
Zach Muellerhttps://twitter.com/TheZachMueller
UnSplashhttps://unsplash.com/photos/nsr4hePZGYI
↩︎https://python.hamel.dev/concurrency/#fnref:1
Jeremy Howardhttps://www.fast.ai/about/#jeremy
↩︎https://python.hamel.dev/concurrency/#fnref:2
sourcehttps://www.geeksforgeeks.org/time-complexity-recursive-fibonacci-program/
↩︎https://python.hamel.dev/concurrency/#fnref:3
Global Interpreter Lockhttps://wiki.python.org/moin/GlobalInterpreterLock
↩︎https://python.hamel.dev/concurrency/#fnref:4
this tutorial on threadshttps://realpython.com/intro-to-python-threading/#working-with-many-threads
↩︎https://python.hamel.dev/concurrency/#fnref:5
↩︎https://python.hamel.dev/concurrency/#fnref:6
multiprocessinghttps://docs.python.org/3/library/multiprocessing.html
↩︎https://python.hamel.dev/concurrency/#fnref:7
Kenneth Chiuhttps://twitter.com/kjw_chiu
thishttps://twitter.com/kjw_chiu/status/1361454366574706690?s=20
thishttps://twitter.com/kjw_chiu/status/1361469227878801412?s=20
↩︎https://python.hamel.dev/concurrency/#fnref:8
concurrencyhttps://python.hamel.dev/tags/concurrency/
https://github.com/hamelsmu/python-notes/tree/master/blog/content/post/py.md
comments powered by utterances.https://github.com/utterance
https://twitter.com/HamelHusain
https://www.linkedin.com/in/hamelhusain/
https://github.com/hamelsmu

Viewport: width=device-width, initial-scale=1, maximum-scale=1


URLs of crawlers that visited me.