Python biedt drie concurrency-modellen, en de juiste keuze hangt voornamelijk af van of uw werk I/O-bound of CPU-bound is — een beslissing die sterk wordt beïnvloed door de GIL (die threads verhindert Python-code parallel uit te voeren).
De drie modellen
threading → multiple threads, ONE process. GIL-limited for CPU.
multiprocessing → multiple PROCESSES, each its own interpreter/GIL → true parallelism.
asyncio → single thread, cooperative coroutines yielding at await points.
