Alan Zhan Blog

Live for nothing, or die for something

MongoDB Index Best Practices

After the sorted operation OOM incident in production from the previous post, I realized my understanding of MongoDB indexes wasn’t as deep as it should be. I started searching extensively and …

MongoDB Sorted Operation OOM

This is a rare case where I learned by working backward from a problem — I’d better document it well. Recently, our production environment hit a MongoDB sort operation limit with this specific …