Skip to content

Tag: multiprocessing

Multiprocessing issue on Windows 10

I am trying to collect the size of homepages of a list of sites using multiprocessing. Following is the code : I am having a Windows 10 laptop with Python 3.9 running. I am not using venv. This code goes into a loop – executes 4 times and takes 4 times longer. What is the error here ? Can someone

Python Multiprocessing Logging via QueueHandler

I have a Python multiprocessing application to which I would like to add some logging functionality. The Python logging cookbook recommends using a Queue. Every process will put log records into it via the QueueHandler and a Listener Process will handle the records via a predefined Handler. Here is the exampl…