python multiprocessing (a simple example)

preview_player
Показать описание
A look into simeltaneous multithreading in python using the multiprocessing library.
Off load expensive tasks to a background process.

This library can be useful for when the single core performance of some code is limiting the responsiveness of your program. By creating multiple processes and sharing data between them using Queues, performance can be increased.

Рекомендации по теме
Комментарии
Автор

Hi Dave, very informative video. I came across multiprocessing since I want to speed up my genetic algo and I would like to understand more how to share memory chunks among processes. For example sharing beat solution found so far among workers so that everyone is effectively moving forward. Would you so kind to have a deep dive video on this topic? Thanks a lot!

marcorinaldo
Автор

Thank you for the great tutorial! Do you know of any examples of processing GBs of sensory data and storing the outputs in sequential manner? :)

_kopiter_
Автор

Good! BTW, could I get the sample code? Thanx in advance...

chd