Stories from the Web Crawling trenches in GIL

Faster Parallel Processing Alternatives to Multithreading in Python

Author: Mohan Ganesan

Date: Mar 17, 2024

Multithreading in Python allows concurrent execution of multiple threads within a process. However, it has limitations due to the GIL. Alternatives like multiprocessing, Numba, and Cython provide better parallelism and performance.

Why Python's Multithreading Perfoms Poorly (And What To Do About It)

Author: Mohan Ganesan

Date: Mar 24, 2024

Python's multithreading capabilities are limited due to the GIL. Solutions like multiprocessing and asynchronous frameworks exist.

Tired of getting blocked while scraping the web?

ProxiesAPI handles headless browsers and rotates proxies for you.
Get access to 1,000 free API credits, no credit card required!