FrontBackGeek

Difference between Multithread and single thread or event driven model

FrontBackGeek 3 years ago

Multi thread model Request with listener worker thread | lock application. Using incoming request model. Multi threaded server might block the request which might involve multiple events. Using context switching….

FrontBackGeek

What is Single thread model used in node js and how its eliminates the limitation of multi thread model

FrontBackGeek 3 years ago

Node Js is event driven, handing all the request asynchronously from single thread. Almost no function  in node directly performs I/O, so the process never blocks. So in a single…