Preface
Getting started with MongoDB is easy, but once you’re building applications with it more complex questions emerge. Is it better to store data using this schema or that one? Should I break this into two documents or store it all as one? How can I make this faster? The advice in this book should help you answer these questions.
This book is basically a list of tips, divided into topical sections:
- Chapter 1, Application Design Tips
Ideas to keep in mind when you design your schema.
- Chapter 2, Implementation Tips
Advice for programming applications against MongoDB.
- Chapter 3, Optimization Tips
Ways to speed up your application.
- Chapter 4, Data Safety and Consistency
How to use replication and journaling to keep data safe—without sacrificing too much performance.
- Chapter 5, Administration Tips
Advice for configuring MongoDB and keeping it running smoothly.
There are many tips that fit into more than one chapter, especially those concerning performance. The optimization chapter mainly focuses on indexing, but speed crops up everywhere, from schema design to implementation to data safety.
Who This Book Is For
This book is for people who are using MongoDB and know the basics. If you are not familiar with MongoDB, check out MongoDB: The Definitive Guide (O’Reilly) or the MongoDB online documentation.
Conventions Used in This Book
The following typographical conventions are used in this book:
- Italic
Indicates new terms, URLs, email addresses, filenames, and file extensions.
Constant widthUsed for program ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access