/explore
|
You are here |
rixx.de | ||
| | | | |
mark-story.com
Recently, I've been working on a system that needs to run tasks scheduled by either web requests, or other tasks. These tasks are trusted but sometimes problematic code. While developers generally write good code, we all make mistakes and the occasional slow job that can run for multiple hours gets written. These slow tasks can create problems if the volume of them goes up as they can consume all available resources. |
|
| | | | | ||
| | | | |
emptysqua.re
Writeup of my PyCon 2022 talk. How to write safe, elegant concurrent Python with threads. |
|
| | | | | ||
| | | | |
www.integralist.co.uk
This is a quick guide to Python's asyncio module and is based on Python version 3.8. Introduction Why focus on asyncio? A quick asyncio summary A quick concurrent.futures summary Green Threads? Event Loop Awaitables Coroutines Tasks Futures Running an asyncio program Running Async Code in the REPL Use another Event Loop Concurrent Functions Deprecated Functions Examples gather wait wait_for as_completed create_task Callbacks Pools Executors asyncio.Future vs concurrent.futures.Future asyncio.wrap_future ... |
|
| | | | | ||
| | | | |
blog.jetbrains.com
Want to write faster Python code? Discover the difference between `async/await` and `threading` and how concurrency works in Python with real-world examples. |
|
| | | |||