Skip to content
Logo Theodo

Article from Mathilde Duboille

Handle Race Conditions In NodeJS Using Mutex

Mathilde Duboille5 min read

tartan track

Even if JavaScript is single-threaded, there can be concurrency issues like race-conditions due to asynchronism. This article aims to tell you how I handled this using mutual exclusion. But first, let’s recall what is a race condition before getting into…

Continue reading →