
Book Description
Learn how to leverage MongoDB with your Python applications, using the hands-on recipes in this book. You get complete code samples for tasks such as making fast geo queries for location-based apps, efficiently indexing your user documents for social-graph lookups, and many other scenarios.
This guide explains the basics of the document-oriented database and shows you how to set up a Python environment with it. Learn how to read and write to MongoDB, apply idiomatic MongoDB and Python patterns, and use the database with several popular Python web frameworks. You’ll discover how to model your data, write effective queries, and avoid concurrency problems such as race conditions and deadlocks.
The recipes will help you:
- Read, write, count, and sort documents in a MongoDB collection
- Learn how to use the rich MongoDB query language
- Maintain data integrity in replicated/distributed MongoDB environments
- Use embedding to efficiently model your data without joins
- Code defensively Read More ...

Book Description
MongoDB, a cross-platform NoSQL database, is the fastest-growing new database in the world. MongoDB provides a rich document orientated structure with dynamic queries that you’ll recognize from RDMBS offerings such as MySQL. In other words, this is a book about a NoSQL database that does not require the SQL crowd to re-learn how the database world works!
MongoDB has reached 1.0 and already boasts 50,000+ users. The community is strong and vibrant and MongoDB is improving at a fast rate. With scalable and fast databases becoming critical for today’s applications, this book shows you how to install, administer and program MongoDB *without* pretending SQL never existed.
What you’ll learn
- Set up MongoDB on all major platforms, including Linux and Cloud platforms
- Model data within a document-oriented database
- Work with your data using non-SQL commands
- Write applications using MongoDB’s PHP API
- Optimize MongoDB
- Master Read More ...

Book Description
A collection of tips, tricks, and hacks to help MongoDB developers get the most out of the software. The tips cover everything from application design to data safety and monitoring.
Table of Contents
Chapter 1 Application Design Tips
Tip #1: Duplicate data for speed, reference data for integrity
Tip #2: Normalize if you need to future-proof data
Tip #3: Try to fetch data in a single query
Tip #4: Embed dependent fields
Tip #5: Embed “point-in-time” data
Tip #6: Do not embed fields that have unbound growth
Tip #7: Pre-populate anything you can
Tip #8: Preallocate space, whenever possible
Tip #9: Store embedded information in arrays for anonymous access
Tip #10: Design documents to be self-sufficient
Tip #11: Prefer $-operators to JavaScript
Tip #12: Compute aggregations as you go
Tip #13: Write code to handle data integrity Read More ...

Book Description
Create a MongoDB cluster that will to grow to meet the needs of your application. With this short and concise book, you’ll get guidelines for setting up and using clusters to store a large volume of data, and learn how to access the data efficiently. In the process, you’ll understand how to make your application work with a distributed database system.
Scaling MongoDB will help you:
- Set up a MongoDB cluster through sharding
- Work with a cluster to query and update data
- Operate, monitor, and backup your cluster
- Plan your application to deal with outages
By following the advice in this book, you’ll be well on your way to building and running an efficient, predictable distributed system using MongoDB.
Table of Contents
Chapter 1 Welcome to Distributed Computing!
Chapter 2 Understanding Sharding
Chapter 3 Setting Up a Cluster
Chapter 4 Working With a Cluster
Chapter 5 Read More ...

Book Description
How does MongoDB help you manage a huMONGOus amount of data collected through your web application? With this authoritative introduction, you’ll learn the many advantages of using document-oriented databases, and discover why MongoDB is a reliable, high-performance system that allows for almost infinite horizontal scalability.
Written by engineers from 10gen, the company that develops and supports this open source database, MongoDB: The Definitive Guide provides guidance for database developers, advanced configuration for system administrators, and an overview of the concepts and use cases for other people on your project. Learn how easy it is to handle data as self-contained JSON-style documents, rather than as records in a relational database.
- Explore ways that document-oriented storage will work for your project
- Learn how MongoDB’s schema-free data model handles documents, collections, and multiple databases
- Execute basic write operations, and create complex Read More ...
Recent Comments