English | 2020 | ISBN: 979-8557417884 | 107 Pages | PDF | 10 MBThe world of NoSQL databases is constantly evolving. Many applications are adopting these new technologies to provide developers with increasingly powerful tools. One of their prominent hallmarks is the freedom from having to define a database model ahead – a feature known as being “schemaless”. MongoDB, the market leader in NoSQL document databases, has made this feature its strong point. An unprecedented level of flexibility makes MongoDb an incredibly powerful tool, but may likewise compromise performance, if not properly tamed. The design of database models, therefore, becomes fundamental to achieving the best performance. In this book we will analyze some use cases and identify optimal modeling patterns, by taking into account the constraints of the application context. We will pinpoint the benefits, but also the tradeoffs that come with each pattern. These patterns will become our tools of the trade for taking full advantage of the power and flexibility of this document database, and building efficient applications.