Main Difference between Asynchronous, Multithreading and Multiprocessing Programming

The Backend Engineering Show with Hussein Nasser

Episode | Podcast

Date: Sun, 12 Apr 2020 21:29:56 GMT

<p>In this video I explain the main difference between asynchronous execution, multithreading and multiprocessing programming. There are advantages and disadvantages of each approach.</p> <ul> <li>Synchronous 0:30</li> <li>Multithreading a process have many threads shared resources 3:20</li> <li>Async io single thread 6:00</li> <li>Multiprocessing &nbsp;11:00</li> </ul> <p>Threads are evil</p> <p><a href="https://web.stanford.edu/~ouster/cgi-bin/papers/threads.pdf">https://web.stanford.edu/~ouster/cgi-bin/papers/threads.pdf</a></p> <p>sync vs async, multithreading vs multiprocessing, multithreading async, threading</p>