Avoiding Cache Stampede with XFetch

When adding a caching layer, the first question that usually comes to mind is the validity period. However, what is usually not considered, is how the cache behaves if it's accessed concurrently. Ignoring concurrency when accessing cached values may lead to cache stampede (a.k.a dog-piling). This article introduces an effective lock-free algorithm which helps to avoid cache stampede.

Designing Performant Pagination Solution in Mongo

How to build a performant pagination solution in Mongo?

Clean Architecture in Node.js

Transform your Node.js app to use Clean Architecture

Node.js Perfomance Hooks

Measure the performance of your app