Research indexJournal article
OPTIMIZATION OF COMPUTATIONAL TASKS USING MULTITHREADING IN PYTHON
Galimullin, Гузуева
EKONOMIKA I UPRAVLENIE PROBLEMY RESHENIYA1 Jan 2024
NobleIDark:/48914/w1/20260526/37711AFFDOI10.36871/ek.up.p.r.2024.11.09.007
OPTIMIZATION OF COMPUTATIONAL TASKS USING MULTITHREADING IN PYTHON
Galimullin, Гузуева · EKONOMIKA I UPRAVLENIE PROBLEMY RESHENIYA · 2024 · Subscription
NobleIDark:/48914/w1/20260526/37711AFFDOI10.36871/ek.up.p.r.2024.11.09.007
The full text is at the publisher
You can read the abstract here, or open it at the publisher.
Abstract
The article explores the use of multithreading and multiprocessing to optimize computational tasks in Python, taking into account the features of the global interpreter lock (GIL). The principles of multithreading, its advantages for I/O tasks, and limitations for CPU-intensive computing are considered. The possibilities of the multiprocessor approach and its effectiveness in bypassing GIL for high-load computing tasks are also analyzed. Examples of implementation and comparative results are provided to assess which approach is most effective for specific tasks.