alxolr

posts about software engineering craft

Blog posts

Articles 6 / 13

How to queue requests in nodejs to gain a huge performance boost

How to queue requests in nodejs to gain a huge performance boost

In this article we will learn a nifty trick, only possible in Node.js to increase your app's performance.

How to process a CSV file five times faster in NodeJs with Rust and Napi rs

How to process a CSV file five times faster in NodeJs with Rust and Napi rs

This tutorial will teach us how to process a CSV file in NodeJs with Rust and Napi rs. We will use the Rust programming language to speed up the processing of a CSV file and create a native nodejs extension using the Napi rs library.

Live Coding #1 mail subscription service in nodejs with fastifyjs and markojs as frontend framework.

Live Coding #1 mail subscription service in nodejs with fastifyjs and markojs as frontend framework.

In this article, I will show how to create a mailer service using mailjet and add it to an existing fastify project. This is part 1 of a multipart series where I will live-code a subscription feature for the alxolr.com blog.

How to process javascript array of objects with rust neon bindings

How to process javascript array of objects with rust neon bindings

In this tutorial, I am creating a native node.js module, which will process a javascript array of objects and log the keys and the values of each element.

Broadcast same shell command in multiple terminals

Broadcast same shell command in multiple terminals

In this tutorial, we will create a simple node.js global package that will broadcast one command in a list of other specified terminals.

Understanding memory leaks in node.js part 2

Understanding memory leaks in node.js part 2

In the second part, we will focus on event emitters and cached objects. Also, we will do some analysis using node clinic tool and chrome dev-tools to identify a nasty memory leak.

Articles 6 / 13