Systems | Development | Analytics | API | Testing

NodeJS

Multi-Thread in Node.js: What are Worker Threads?

Node.js is a free, cross-platform JavaScript runtime environment, while single-threaded in nature, executes asynchronous code using several threads in the background. Because of its design, Node.js has received a lot of flak. It seems unusual that Node.js doesn't have direct access to threads when compared to programming languages like Java, C, or Python. The worker_thread module in Node.js 11 allows us to launch many threads on a single core.

What's new in npm 8?

I know, right? NPM 8 was released just a couple of months ago and you’re looking for a blog post that summarizes all the changes and new stuff in the new version because you want to be ahead of the curve or simply don’t want your app to crash when upgrading. You googled but nothing relevant appeared; only a document from Github blog that refers to this issue on the NPM organization.

Happy #26 Anniversary JavaScript!

On the 26th anniversary of JavaScript, it's hard to fully measure the impact of this "open-source, cross-platform language for enterprise networks and the internet." It has transformed the landscape of computing by becoming the top language in development. Its community has grown significantly and taken a vital role in the evolution and, of course, support of JavaScript. It's a tremendous achievement!

7 Ways to Improve Node.js Performance at Scale

Performance is one of the most important aspects of web application development. A fast application will make its users, developers, and business stakeholders happy, while a slow one is sure to frustrate all three parties. In this article, we will consider some practices that you should adopt to scale your Node.js servers. Your servers will then be able to handle high traffic workloads without a degraded user experience.

Securing your Applications in Node.js - Part 1/3

Javascript is here to stay! And the server-side Node.js project is no different 💚. This year marks the 12th (Dec 4, 2009) anniversary of the birth of Node.js, and although it may seem incredible, Javascript has been around for 25 years and the web respectively 32 years. The ecosystem of Node.js is mature and supported by an active community of library developers and authors. Being so popular, it also becomes an exciting challenge for crackers.

Adding user tracking to your Node.js RESTful API with Moesif

Join Matt as he shows users how to add user tracking to your Node.js RESTful API with Moesif. In this tutorial, we will cover how to: Tracking users' server-side interaction greatly increases the value of API monitoring and analytics. With Moesif, begin tracking your API calls by user in a matter of minutes.

WebSockets Tutorial: Going Real-time with Node and React

Everyone seems to be making chat apps these days, but messaging apps are merely the tip of the iceberg. Consider this for a moment, within the real-time domain, there are a plethora of different things you can create. We'll start with some fundamental concepts and work our way up to see how to go real-time with Node and React in the following post. By the end of this article, you will have created a very simple real-time application. That will be a lengthy post!