Systems | Development | Analytics | API | Testing

NodeJS

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.

How to authenticate a Next.js Route Handler using Clerk

When building web applications you’ll often be using services on the client that require authentication. A common way client-side SDKs like Ably authenticate themselves is by using server-side API endpoints that generate and return access tokens. Using access tokens allows you to keep your service’s secrets on the server and instead issue time-limited and scope-limited tokens to a client. Some services even let you create revocable tokens for added security.