In this video I explain the main difference between asynchronous execution, multithreading and multiprocessing programming. There are advantages and disadvantages of each approach.

  • Synchronous 0:30
  • Multithreading a process have many threads shared resources 3:20
  • Async io single thread 6:00
  • Multiprocessing  11:00

Threads are evil

https://web.stanford.edu/~ouster/cgi-bin/papers/threads.pdf

sync vs async, multithreading vs multiprocessing, multithreading async, threading


Support this podcast: https://anchor.fm/hnasr/support