MongoDB Applied Design Patterns - Rick Copeland

MongoDB Applied Design Patterns

Practical Use Cases with the Leading NoSQL Database

(Autor)

Buch | Softcover
176 Seiten
2013
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-4004-9 (ISBN)
31,40 inkl. MwSt
Whether you’re building a social media site or an internal-use enterprise application, this hands-on guide shows you the connection between MongoDB and the business problems it’s designed to solve. You’ll learn how to apply MongoDB design patterns to several challenging domains, such as ecommerce, content management, and online gaming. Using Python and JavaScript code examples, you’ll discover how MongoDB lets you scale your data model while simplifying the development process.

Many businesses launch NoSQL databases without understanding the techniques for using their features most effectively. This book demonstrates the benefits of document embedding, polymorphic schemas, and other MongoDB patterns for tackling specific big data use cases, including:
  • Operational intelligence: Perform real-time analytics of business data
  • Ecommerce: Use MongoDB as a product catalog master or inventory management system
  • Content management: Learn methods for storing content nodes, binary assets, and discussions
  • Online advertising networks: Apply techniques for frequency capping ad impressions, and keyword targeting and bidding
  • Social networking: Learn how to store a complex social graph, modeled after Google+
  • Online gaming: Provide concurrent access to character and world data for a multiplayer role-playing game

Rick Copeland is the Principal Consultant and Founder at Arborian Consulting, a business focusing on MongoDB and Python custom development and training. Rick is a frequent speaker at MongoDB events, an avid MongoDB enthusiast, and is a charter member of 10gen's »Masters of MongoDB.« In the non-MongoDB side of things, Rick is also a well-known Python developer and member of the Python Software Foundation, having contributed to a number of open-source projects and spoken at various evens and user groups. Rick is also the author of »Essential SQLAlchemy«, a book published by O'Reilly that introduces the reader to the excellent SQLAlchemy Python database toolkit.

Design Patterns
Chapter 1 To Embed or Reference
Relational Data Modeling and Normalization
MongoDB: Who Needs Normalization, Anyway?
Conclusion
Chapter 2 Polymorphic Schemas
Polymorphic Schemas to Support Object-Oriented Programming
Polymorphic Schemas Enable Schema Evolution
Polymorphic Schemas Support Semi-Structured Domain Data
Conclusion
Chapter 3 Mimicking Transactional Behavior
The Relational Approach to Consistency
Compound Documents
Using Complex Updates
Optimistic Update with Compensation
Conclusion
Use Cases
Chapter 4 Operational Intelligence
Storing Log Data
Pre-Aggregated Reports
Hierarchical Aggregation
Chapter 5 Ecommerce
Product Catalog
Category Hierarchy
Inventory Management
Chapter 6 Content Management Systems
Metadata and Asset Management
Storing Comments
Chapter 7 Online Advertising Networks
Solution Overview
Design 1: Basic Ad Serving
Design 2: Adding Frequency Capping
Design 3: Keyword Targeting
Chapter 8 Social Networking
Solution Overview
Schema Design
Operations
Sharding
Chapter 9 Online Gaming
Solution Overview
Schema Design
Operations
Sharding
Afterword
Where Do I Go from Here?
Index
Colophon

Erscheint lt. Verlag 16.4.2013
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 233 mm
Gewicht 290 g
Einbandart Paperback
Themenwelt Mathematik / Informatik Informatik Datenbanken
Informatik Web / Internet Social Web
ISBN-10 1-4493-4004-0 / 1449340040
ISBN-13 978-1-4493-4004-9 / 9781449340049
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
das Handbuch für Ausbildung und Beruf

von Vivian Pein

Buch | Hardcover (2024)
Rheinwerk (Verlag)
39,90