Chapter 3. Building a Flexible Database with MongoDB

A crucial step in building any web application is to choose the location for storing data. Databases are all the more critical for e-commerce applications. A database needs to be flexible enough to adapt to the ever-growing needs of the future while fitting the current products catalog. Scalability is another feature of paramount importance that can allow any business to grow or shrink. How many orders per minute does the application handle? What's the average response time of users' load peaks and valleys? How long does it take to find a product in a large pool? Will today's schema meet tomorrow's demands? These are a few of the many questions that affect the choice of database.

For around 40 ...

Get Web Application Development with MEAN now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.