What are node.js main parts under the hood? how do they collaborate? common misconceptions. This video is a summary of a lot of talks I've watched recently on node.js internals, along with articles, source code and email lists.
The sources that made this video possible:
• Node's Event Loop From... | Node's Event Loop From the Inside Out by Sam Roberts, IBM
• Morning Keynote- Every... | Morning Keynote- Everything You Need to Know About Node.js Event Loop - Bert Belder, IBM
• Video | JavaScript Engine Internals for JavaScript Developers - talk
• Franziska Hinkelmann: ... | Franziska Hinkelmann: JavaScript engines - how do they even? | JSConf EU
• NodeConf EU | A deep ... | NodeConf EU | A deep dive into libuv - Saul Ibarra Coretge
• Jake Archibald on the ... | Jake Archibald: In The Loop - JSConf.Asia
• The Node.js Event Loop... | The Node.js Event Loop: Not So Single Threaded
• Sigurd Scheider: Insid... | Sigurd Scheider: Inside V8: The choreography of Ignition and TurboFan | Web Rebels 2018
• What the heck is the e... | What the heck is the event loop anyway? | Philip Roberts | JSConf EU
Articles & Documentation & Source Code
voidcanvas.com/nodejs-event-loop/
nodejs.org/en/docs/guides/eve...
stackoverflow.com/questions/5...
github.com/libuv/libuv
dev.to/bipinrajbhar/how-javas...
We'll look at v8, its parser, AST, ignition, turbofan, Libuv, the stdlib, the event loop. How does the event loop work? How does libuv work? What is ignition? what's turbofan? How do ignition and turbofan work together? How does node work internally? is node single threaded? does node have an event loop? process.nexttick vs setimmediate, node event loop phases. Interview questions for node can be answered with a lot of the topics covered here.
Chapters
00:00 Intro
00:44 Major Components
01:38 Misconceptions about node
05:34 Architecture overview
08:12 V8 overview
08:49 Heap & stack
09:36 Ignition
10:30 Turbofan
10:48 Turbo Fan & Ignition & Performance tips
17:10 Libuv
18:08 Event loop phases
21:00 Libuv source code
22:30 Microtasks queue
25:05 Outro & coming soon
Негізгі бет Ғылым және технология Node JS Internal Architecture | Ignition, Turbofan, Libuv
Пікірлер: 40