Want to earn a snazzy new MongoDB forum badge and learn some tips that could pay off big time in your next project? Learn about common “anti-patterns” to avoid in your MongoDB database, complete our Anti-Patterns Quiz, earn your badge, and start your next project with confidence!
Many of us like to get our app up and running as quickly as possible when starting a new project. Creating an MVP (minimum viable product) and iterating to improve your work is a great way to get rapid feedback and create amazing things. Often, in the rush to get to that MVP, it is possible to fall into the trap of taking shortcuts that create big headaches later as we prepare to scale up.
Recognizing these potential pitfalls can help you to start off your project on the right foot and create data models that scale. We’ve identified six anti-patterns to be aware of when developing your schema that should be avoided.
Share your thoughts on anti-patterns and how you avoid them below.
Totally agree - using MongoDB in the same way you would use a relational database is a huge anti-pattern. It makes pretzels and spaghetti. (Although, I have to admit I googled “pretzels and spaghetti” and found this recipe, and I kind of want to try it: https://parade.com/1089361/sheagoldstein/spaghetti-pretzel-bombs-recipe/)
I do want to clarify that MongoDB is general purpose database that handles relational data quite well—you just model it differently than you would in a relational database.
G’day folks! If you’ve earned the Anti-Patterns Quiz Maestro forum badge by getting 100% on the quiz, you can now choose to use this as a custom title in the forum.
It has been just over 12 months since this quiz was introduced. Since new submissions are rare and this badge is manually awarded, we’re going to put a pause on awarding new badges from today and will revisit a more automated approach in future. The Anti-Patterns quiz will remain available if you want to take it for fun