发布于 2015-09-14 15:08:49 | 338 次阅读 | 评论: 0 | 来源: 网络整理
The use case documents introduce the patterns, designs, and operations used in application development with MongoDB. Each document provides concrete examples and implementation details to support core MongoDB use cases. These documents highlight application design, and data modeling strategies (i.e. schema design) for MongoDB with special attention to pragmatic considerations including indexing, performance, sharding, and scaling. Each document is distinct and can stand alone; however, each section builds on a set of common topics.
The operational intelligence case studies describe applications that collect machine generated data from logging systems, application output, and other systems. The product data management case studies address aspects of applications required for building product catalogs, and managing inventory in e-commerce systems. The content management case studies introduce basic patterns and techniques for building content management systems using MongoDB.
Finally, the introductory application development tutorials with Python and MongoDB, provides a complete and fully developed application that you can build using MongoDB and popular Python web development tool kits.
As an introduction to the use of MongoDB for operational intelligence and real time analytics use, the document “Storing Log Data” describes several ways and approaches to modeling and storing machine generated data with MongoDB. Then, “Pre-Aggregated Reports” describes methods and strategies for processing data to generate aggregated reports from raw event-data. Finally “Hierarchical Aggregation” presents a method for using MongoDB to process and store hierarchical reports (i.e. per-minute, per-hour, and per-day) from raw event data.
MongoDB’s flexible schema makes it particularly well suited to storing information for product data management and e-commerce websites and solutions. The “Product Catalog” document describes methods and practices for modeling and managing a product catalog using MongoDB, while the “Inventory Management” document introduces a pattern for handling interactions between inventory and users’ shopping carts. Finally the “Category Hierarchy” document describes methods for interacting with category hierarchies in MongoDB.
The content management use cases introduce fundamental MongoDB practices and approaches, using familiar problems and simple examples. The “Metadata and Asset Management” document introduces a model that you may use when designing a web site content management system, while “Storing Comments” introduces the method for modeling user comments on content, like blog posts, and media, in MongoDB.