Muhammad Uzair’s Post

Day 10 of making my slef a BRAND 1 : Node js depend on Googles V8 to convert js code into machine code and libuv for file accessing and thread pools etc 2 : As in node environment js runs in a single thread, 1. program is initiallized, 2. top level code is executed, 3.modules are required, 4. callbacks are registered, 5 . event loop starts running. 3 : event loops executes the callbacks and if some code takes longer to run that is pushed to threads in the thread pool 4 : there can be 4 - 128 threads in the thread pool 5 : Node js is based on event driven architeccture, which means that events are thrown on multiple occassion eg. file reading is finished 6 : And callbacks are associated with events, those callbacks are executed in event loop 7 : And callbacks taking more time are provided to one of the thread from thread pool to be executed in background #NodeJS #JavaScript #BackendDevelopment #FullStackDeveloper #WebDevelopment #SoftwareEngineering #Programming #AsyncProgramming #EventLoop #V8Engine #Libuv #ThreadPool #NodeJSEventLoop #JavaScriptDeveloper #MERNStack #TechLearning #CodingJourney #DeveloperCommunity #CodeNewbie #NodeJSTips #JSPerformance #Concurrency #NonBlockingIO #ServerSideJS #WebDevCommunity #BackendEngineer #ScalableApps #TechEducation #LearningInPublic #BuildInPublic #100DaysOfCode #DeveloperLife #WebEngineering #CodingInsights #JSRuntime #NodeInternals #ProgrammingConcepts #AsynchronousCode #CodeWithUzair #TechExplained #JSArchitecture #SoftwareDeveloper #NodeJSLearning #NodeJSEngine #CodingDaily #CodeSharing #NodeMastery #V8AndLibuv #TechContent #DeveloperGrowth

To view or add a comment, sign in

Explore content categories