The Backend Engineering Show with Hussein Nasser
Main Difference between Asynchronous, Multithreading and Multiprocessing Programming

Main Difference between Asynchronous, Multithreading and Multiprocessing Programming

The Backend Engineering Show with Hussein Nasser

15:32

About this episode

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

More from The Backend Engineering Show with Hussein Nasser

I discuss the state of what will be happening in the coming few years and why I encourage the 3 of you who want to be elite engineers to keep their critical thinking sharp. To pause and think before p…

9m

This is a conversation with Rashed Hasan, a PhD Candidate from the University of Nebraska. We chatted about databases, ORMs and how to use AI without losing yourself. Rashed pagehttps://www.mdrashedul…

56m

SQL was a mistake

I like SQL but the standard should have included ways to hint instead of the abstraction of "let me do it for you"

12m

In this episode I explore why you should take some time to examine the operation you are caching before doing so. And why caching is a cop-out

15m