4 ms·
If you're curious about this topic then I would love to link you to https://techspot.zzzeek.org/2015/02/15/asynchronous-python-and-databases https://techspot.zz
by jgehrcke 6y ago
If you're curious about this topic then I would love to link you to https://techspot.zzzeek.org/2015/02/15/asynchronous-python-and-databases https://techspot.zzzeek.org/2015/02/15/asynchronous-python-a... written by Mike Bayer (author of SQLAlchemy) -- it's an article that I keep referring to as a must-read, incredibly well written and all about real-world implications (totally transferable to other non-Python ecosystems).
If you like to, maybe also have a read into https://gehrcke.de/gipc/background.html https://gehrcke.de/gipc/background.html. This is where I tried to put into words what I learned a couple of years ago when I wrote a library for the gevent ecosystem. You'll find some paragraphs about "Cooperative scheduling vs. preemptive scheduling", about "Asynchronous vs. synchronous", and about a few more simple and yet important topics in the world of event-driven architectures.