Skip to content

Article from Mathilde Duboille

Handle Race Conditions In NodeJS Using Mutex

September 17, 2019Mathilde Duboille4 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 the problem and telling you how I solved it…

Continue reading →