alxolr's blog

the road to node.js mastery

Blog posts

Articles 6 / 15

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.

Understanding memory leaks in node.js part 1

Understanding memory leaks in node.js part 1

In this article we will learn about memory leaks in node.js, we will focus mainly on streams and promises

How to separate mocha tests in multiple files

How to separate mocha tests in multiple files

Sometimes our unit tests grow extremely large, so it is indispensable to separate them in multiple files to be able to maintain them properly learn how to do this in the next tutorial.

How to test locally AWS SQS queues in node.js

How to test locally AWS SQS queues in node.js

Recently got a particular task to mock amazon environment locally. The problem is if you want to test your application you need to connect to Amazon SQS.

My most effective improvement strategies

My most effective improvement strategies

In our world with enormous amount of data, we need some good strategies to force ourselves to learn.

The absolute beginner guide to unit testing in node.js

The absolute beginner guide to unit testing in node.js

We will unit test a super simple node.js module

Articles 6 / 15