Answer the question
In order to leave comments, you need to log in
What to use, multithreading or multiprocessing?
Good afternoon.
The task is to parse data from vk.com with some periodicity.
I can not understand what is better to use for parallel data processing (data must be written to the database).
There are several VK accounts that collect information about users in the group. Before that, the multiprocessing module was used. Now the question arose, can threads be used for such things?
Please explain which is better to use.
Answer the question
In order to leave comments, you need to log in
multithreading - for I/O operations
multiprocessing - for computing
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question