Causal Consistency in MongoHow to guarantee causal consistency in Mongo using Node.js?
Single Level of Abstraction PrincipleWhat is Single Level of Abstraction (SLA) principle, why is it important, and how to apply it?
Avoiding Cache Stampede with XFetchWhen 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 MongoHow to build a performant pagination solution in Mongo?