MongoDB Performance & Query Optimization Consultant


We are a growing platform. We’re currently on MongoDB Atlas v6.0.23 and are seeking an expert to help us optimize query performance, index strategy, and schema design. Our system is showing key warning signs of inefficiency and under-optimized structure, and we want to address these now before scaling further. Current Database Issues & Findings: Performance Red Flags: Query Targeting Alert: The ratio of scanned-to-returned documents exceeds 1000, indicating missing or misaligned indexes. Excessive $lookup Usage: Over 50% of our slow operations involve $lookup. More than 100 $lookup queries have been detected. These joins are dragging performance and likely point to a schema that needs normalization or embedding. Unused Indexes Detected: MongoDB Atlas has flagged location.coordinates_2dsphere and style_references_1 as unused for 9+ days. We’re unsure whether to migrate these to production or eliminate them. Inefficient Operation Load Even at Low Volume: With just 5.15 ops/sec, we’re already seeing: 4.49 total hours of latency 36.39 ms average query latency 52.71 ms P95 latency These numbers reveal that our system is not scaling efficiently. Even light traffic generates hours of cumulative delay. This confirms the system will struggle under load and adds urgency to this optimization. Lack of Profiling & Monitoring: We are not yet leveraging MongoDB’s profiler, query plans, or other native tools effectively. We need guidance implementing and interpreting them. What You’ll Do: Audit all $lookup usage and advise whether to embed, pre-aggregate, or optimize with indexes Refactor or advise on reducing unnecessary joins using MongoDB’s flexible document model Resolve the query targeting alert by aligning indexes with actual access patterns Evaluate current and unused indexes; advise which should be kept, dropped, or ported to production Use Atlas Profiler and query plans to identify additional latency drivers Guide schema redesign or restructuring to improve read/write performance Document findings and create a go-forward strategy we can maintain internally Requirements: Deep experience with MongoDB (ideally MongoDB Atlas) and schema design best practices Mastery of $lookup, compound indexing, sparse/TTL indexes, and performance tuning Experience interpreting Atlas Profiler, Metrics, and Query Insights Ability to communicate complex backend concepts clearly to a non-technical founder Bonus: Familiarity with modern JavaScript/TypeScript stacks (Node.js, Next.js) Share what you think your findings and optimizations could increase our performance and speed by. Thank you

Keyword: Software Development

Query Optimization MongoDB Performance Optimization

 

Experienced Zendesk App Developer Needed

We are seeking a talented Zendesk App Developer to create and customize applications within the Zendesk platform. The ideal candidate should have extensive experience in building solutions that enhance user experience and streamline support processes. You will be respon...

View Job
Can't get visual studio code to give me output

I have downloaded vs code. I want to write code and see it and learn how to code. When I try to see it, I get this error will not connect to local host. I have watched 3 videos and I can't get it to work thanks

View Job
Zakeke Onboarding

I only have 1 product right now, I want to get it working on Zakeke and also learn how to use zakeke, maybe I can pay you per hour on a zoom call?

View Job