node js

Design Multi-threaded Architecture

What is multi-threading? Multithreading is the ability of a program to perform multiple tasks concurrently. Multi-threading is a programming language term derived from a concept of multitasking. It is used when we want to divide our job into several independent parts. It allows the execution of multiple parts of a program at the same time. …

Design Multi-threaded Architecture Read More »

Getting Started With Express Part 5

In the last part of this tutorial series, we created two routes to fetch and add books to our bare minimum application. We had already connected MongoDB database in Part 4 by defining a schema and creating a model to connect with the routes. In this part, we are going to work with HTML forms.

Event Loop and Asynchronous Non-Blocking in Node.js

Introduction to Node.js Event Loop In the previous article, we talked about Node js network programming. Here we will take it further and talk about Event loop and asynchronous non blocking in node js. Node.js is single threaded. It supports concurrency through paradigms of event and callbacks. Since it is single threaded, most APIs provided …

Event Loop and Asynchronous Non-Blocking in Node.js Read More »

Scroll to Top