TLDR Web Dev · ARTICLES & TUTORIALS

HOW WE REDUCED OUR DOCUMENTDB COST BY NEARLY 50% AND OPTIMIZED PERFORMANCE

blog.postman.com11 min read

Summary from the TLDR Web Dev newsletter

The activity feed team at Postman investigated their DocumentDB usage and was able to reduce the monthly cost from $6k to $3k with 50% performance gains. They optimized their feed collation query, refined their indexing strategy, shifted from TTL-based deletes to direct deletes, and updated their collation strategy to use updates instead of inserts and deletes. These changes led to significant reductions in both read and write I/O operations and a 35% reduction in CPU utilization.