Causal Consistency in Mongo

How to guarantee causal consistency in Mongo using Node.js?

Single Level of Abstraction Principle

What is Single Level of Abstraction (SLA) principle, why is it important, and how to apply it?

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?