software development

software development Community

50K+ Active Members 25K+ Questions Answered 100+ Categories
ZO
Zoe Jenkins
Asked on 26-10-2026

How to avoid 'hot' documents?

I am getting errors about 'hot' documents when I try to update a popular item. It seems like everyone is trying to update the same document at once. How can I distribute this load? Should I be using a...
Software Development
253 views
2 votes
JO
Joseph Anderson
Asked on 26-10-2026

How to use the Attribute pattern?

I heard about the attribute pattern for handling varying product specifications. I have looked at some docs but still don't fully get it. Can someone explain it like I am a beginner? I have a store wi...
Software Development
277 views
4 votes
AL
Alicia Simmons
Asked on 26-10-2026

Is MongoDB suitable for inventory management?

I am skeptical about using MongoDB for an inventory system because I need strict consistency for stock counts. Is there a way to handle atomic increments safely, or is this a scenario where I should j...
Software Development
249 views
10 votes
SH
Sharon Kelly
Asked on 26-10-2026

Is the bucket pattern right for time-series data?

I am working with sensor data that arrives every second. I heard that the bucket pattern is a standard for this. Can someone explain why this is better than storing each event as an individual documen...
Software Development
309 views
6 votes
CH
Charles Higgins
Asked on 26-10-2026

What are the common causes of high memory usage?

My MongoDB instance keeps running out of RAM and then crashes. I checked the collection sizes and they are not that big. What else could be causing such high memory pressure? I suspect it might be my ...
Software Development
241 views
5 votes
CA
Caleb Wright
Asked on 26-10-2026

How to handle multi-document transactions?

I know MongoDB supports multi-document transactions now, but I hear they have a performance cost. Is it better to restructure my schema to avoid transactions entirely, or should I lean into them for f...
Software Development
271 views
3 votes
DA
David Thorne
Asked on 26-10-2026

How to handle circular references in documents?

I have a tree structure for categories. Parent categories have child IDs, and children have a parent ID. Querying this feels really messy because I have to do multiple lookups to reconstruct the tree....
Software Development
192 views
7 votes
PA
Patrick Mahoney
Asked on 26-10-2026

What are the common pitfalls in MongoDB schema design?

I come from a SQL background and I feel like I am fighting the database. I keep trying to normalize my data into different collections, but I suspect that might be the wrong approach here. What are th...
Software Development
288 views
3 votes
MI
Michelle Anderson
Asked on 26-10-2026

How to handle session management?

I need to store user sessions and they expire after 30 minutes. I know about TTL indexes, but is that the most performant way to clear out data? I am seeing a lot of deletes happening in the backgroun...
Software Development
270 views
2 votes
MA
Matthew Foster
Asked on 23-10-2026

How to explain Collections vs Streams in an interview?

I use both every day, but when asked about the core differences in an interview, I tend to get muddled. Can someone provide a concise way to compare the two? I am looking for an answer that highlights...
Software Development
212 views
1 votes

Still have questions? Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Book Free Session

Book Free Session