As developers, we all hate slow APIs, and recently, mine started crawling during peak traffic.
So, I rolled up my sleeves and went deep into:
Identifying bottlenecks using clinic.js and express-status-monitor
Optimizing MongoDB queries (with .lean(...