Quantcast
Channel: MongoDB | Blog
Viewing all articles
Browse latest Browse all 2423

Building with Patterns: The Preallocation Pattern

$
0
0
One of the great things about MongoDB is the [document](https://docs.mongodb.com/manual/core/document/) data model. It provides for a lot of flexibility not only in schema design but in the development cycle as well. Not knowing what fields will be required down the road is easily handled with MongoDB documents. However, there are times when the structure is known and being able to fill or grow the structure makes the design much simpler. This is where we can use the Preallocation Pattern.

Viewing all articles
Browse latest Browse all 2423

Trending Articles