Under The Hood Of Node JS

Node is a Javascript server-side runtime; it’s not a framework, a library or a language. Although Javascript’s Google V8 engine works as a single-threaded compiler, Node is asynchronous in nature and built on callback functions and promises as a non-blocking I/O built on an event loop called lubUv. In some ways, Node works similar to… Continue reading Under The Hood Of Node JS

Categorized as Node JS

Oh JS Async, How I Love You

Concurrency happens when multiple computer computations are happening simultaneously at the same time. Javascript runs via a call stack that is a parsed sequentially line by line (single threaded synchronous). If delays occur in the code execution whether intentional or non-intentional, how do you prevent them from blocking your code execution? Even though the call… Continue reading Oh JS Async, How I Love You