Tag Node.js

How does Node.js work asynchronously without multithreading?

It’s all a hoax. Node is multithreaded. Alex Mills originally posted this on Quora. The main event loop is single-threaded by nature. But most of the i/o (network, disk, etc) is run on separate threads, because the i/o APIs in Node.js are asynchronous/non-blocking by design, in order to accommodate the event loop. However, in some ways, calling Node asynchronous is a misnomer IMO, because almost all the code that the

Continue reading…

Node.js at Netflix with Yunong Xiao

http://traffic.libsyn.com/sedaily/node_yunong_fixed.mp3Podcast: Play in new window | DownloadNode.js is a server-side JavaScript runtime powered by V8. Yunong Xiao is a senior engineer at Netflix. He works on the website’s Node.js front-end and middle-tier services. Topics discussed: Netflix’s Node.js components Netflix’s similarities to Spotify How to scale a node application Java vs. Node.js services Node.js event loop Solutions to callback hell How Node.js changes what to render on client vs. server Links: Tessel,

Continue reading…

JavaScript: Fundamental Questions

JavaScript Week is the first theme of Software Engineering Daily. Five of the top ten most popular GitHub projects involve JavaScript. Node.js, powered by V8 has driven rapid development of server-side JavaScript. New frameworks make large projects maintainable, fast, and portable to mobile. From July 27th to August 2nd, there will be podcast interviews with experts on JavaScript, Node.js, MongoDB, React.js, and other topics. Below is a collection of fundamental questions about the space:

Continue reading…