Systems | Development | Analytics | API | Testing

NodeJS

Password hashing in Node.js with bcrypt

In the digital age, security is of paramount importance, especially when it comes to user data and credentials. As developers, we must ensure that sensitive information, such as passwords, is stored securely to prevent unauthorized access and potential breaches. One of the key techniques employed to enhance security is password hashing, and in the realm of Node.js development, the bcrypt library stands out as a robust solution for this purpose.

Dealing with CPU-bound Tasks in Node.js

Welcome to part two of our series on profiling and optimizing CPU-bound tasks in Node.js! In the first installment, we discussed the complexities of handling CPU-bound tasks in Node.js, shedding light on their impact on runtime performance and exploring various profiling techniques. Once you've used profiling to figure out where the bottleneck in your application is, the next step is to choose the right optimization strategy to obtain an acceptable level of performance for your use case.

How to Fix "Client network socket disconnected..." in Node.js

The error “Client network socket disconnected before secure TLS connection was established” indicates something went wrong when setting up a secure connection with the server you’re communicating with. This can happen because of an unstable internet connection, wrong security settings on the server, or things like firewalls getting in the way.

Integrating Winston Logger in your Node.js Application

Winston Logger is one of the most popular logging libraries for Node.js. This library decouples the different aspects of logging, such as log levels, formatting, and storage, to make them independent and provide an array of different combinations. Additionally, you can implement logging in your application using Node.js streams to minimize performance impact. In this article, we are going to discuss how to install Winston Logger and use it for your Node.js application.

REST API with Node.js

REST is a powerful and ubiquitous paradigm for web application development. It offers huge benefits that can help any service be more efficient, more extensible, and more scalable. Node.js is a popular solution for building fast, efficient, and scalable APIs. It is highly extensible, offering an ecosystem of packages that deliver fast and unified development.

Node.js vs Java: Which one to consider for backend in 2024?

Are you in a dilemma about how to go ahead with your next project? Have questions related to which one is better if we compare Node.js vs Java and the major difference between the two. To bring to your notice, two prominent languages have emerged as popular choices for building robust and scalable applications: Node.js and Java.

Innovating for Performance: How our Infra Team Powers 100+ Million Downloads A Year (While Keeping our SaaS Reliable and Secure)

We just shared big news about the open-sourcing of our Node.js Runtime and the release of our AI Copilot for Node, both requiring a big role from our infrastructure (Infra) team. They are the team behind the scenes, dedicated to delivering top performance, and have been instrumental in maintaining our reputation for fast, stable, and secure delivery of our SaaS product and Binary Distributions–which generate over 100 million annual downloads a year.

Serialization and deserialization in Node.js

Serialization and deserialization are two fundamental processes that play a pivotal role in achieving this goal, especially within the context of Node.js. Serialization and deserialization are the unsung heroes behind the scenes, responsible for converting complex data structures into formats that can be easily stored, transmitted, and reconstructed when needed. In Node.js apps where data is at the core of application functionality, a solid understanding of these processes is crucial.

3 Takeaways from Web Summit 2023

Along with approximately 70,000 other souls from around the globe, the NodeSource team attended Web Summit 2023 earlier this month. Famous for being the largest European tech event (or even the world), Web Summit was full of riveting AI conversations, more than 2,600 startups, and plenty of tasty food trucks and, of course, amazing local cuisine.

Ultimate guide: Best databases for NodeJS apps

NodeJS is a JavaScript-based backend framework for web applications. It enables fast, scalable, and efficient development with high concurrency and data streams. Choosing the right database for NodeJS applications is a challenge for developers. A database should store and manage the data, handle the volume and velocity of data, provide the features and functionality you need, and be compatible, easy, secure, and reliable with NodeJS.