MongoDB High Availability

Design and implement a highly available server using the latest features of MongoDB.

MongoDB High Availability

Learning
Afshin Mehrabani

Design and implement a highly available server using the latest features of MongoDB.
$10.00
$32.99
RRP $19.99
RRP $32.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Code Files
+ Collection

Book Details

ISBN 139781783986729
Paperback164 pages

About This Book

  • Improve response time by profiling and indexing on large databases
  • Configure a Replica set network from scratch using a real-world example
  • Step-by-step guide to setting up and learning about the latest MongoDB components and features to perform clustering and sharding

Who This Book Is For

If you are using MongoDB in a production environment and need a solution to make a highly available MongoDB server, this book is ideal for you. Familiarity with MongoDB is expected so that you understand the content of this book.

Table of Contents

Chapter 1: Understanding the MongoDB Architecture and Processes
Utilizing MongoDB components
Import and export tools
Diagnostic tools
Summary
Chapter 2: Understanding MongoDB's Failures and Limitations
Understanding the limitation of a 32-bit version of MongoDB
Failover in replica set
Sharding the configuration server failure
Understanding database locks
Summary
Chapter 3: Clustering in MongoDB
Sharding in MongoDB
Vertical and horizontal scaling
Utilizing sharding
Implementing clustering in MongoDB
Summary
Chapter 4: Utilizing a Replica Set
The purpose of replication
Understanding replication
Architecture of replica sets
Understanding oplog
Learning about replication and oplog changes
Understanding the arbiter node's role
Summary
Chapter 5: Replica Set in Action
Overview of replica sets
Before deploying a replica set
Configurations of a replica set
Deploying a replica set
Failover testing
Summary
Chapter 6: Understanding the Concept of Sharding
Understanding scaling
Learning about sharding
Summary
Chapter 7: Sharding in Action
Preparing the environment
Implementing configuration servers
Configuring a mongos instance
Managing a mongos instance
Adding shards to mongos
Enable sharding
Summary
Chapter 8: Analyzing and Improving Database Performance
Understanding profiling
Introducing other analytics methods
Introducing indexes
Summary
Chapter 9: Migrating Instances and Reducing Downtime
Understanding the migration process
Migrating a replica set in action
Migrating a standalone mongod instance
Summary
Chapter 10: Monitoring and Troubleshooting the Database
Understanding monitoring strategies
Introducing web-based utilities
Introducing FusionReactor
Introducing self-hosted utilities
Summary

What You Will Learn

  • Understand MongoDB's server structure and processes
  • Get to grips with using MongoDB solutions to cluster your server
  • Utilize sharding and set up a sharding server architecture
  • Improve server response time using different solutions
  • Diagnose, monitor, and troubleshoot a MongoDB server
  • Discover the replica set and how it works
  • Grasp how to select a suitable sharding key

In Detail

MongoDB is one of the pioneers in implementing the NoSQL concept by using "Document" as the infrastructure to save and restore data from a database. Using MongoDB in high pressure situations needs a predefined plan, and this book with its step-by-step approach can help you to make a highly available MongoDB server using the latest features.

Starting with the basic concepts and their implementation, you will study real-world use cases which will help you understand the practical aspects of MongoDB. Each step contains an in-depth presentation and several screenshots. This book teaches you all the tips and tricks to make a highly available MongoDB server using different clustering solutions. This book has a perfect balance of concepts and their practical implementation along with solutions to make a highly available MongoDB server in a production environment and under high throughput with clear instructions and guidance.

Authors

Table of Contents

Chapter 1: Understanding the MongoDB Architecture and Processes
Utilizing MongoDB components
Import and export tools
Diagnostic tools
Summary
Chapter 2: Understanding MongoDB's Failures and Limitations
Understanding the limitation of a 32-bit version of MongoDB
Failover in replica set
Sharding the configuration server failure
Understanding database locks
Summary
Chapter 3: Clustering in MongoDB
Sharding in MongoDB
Vertical and horizontal scaling
Utilizing sharding
Implementing clustering in MongoDB
Summary
Chapter 4: Utilizing a Replica Set
The purpose of replication
Understanding replication
Architecture of replica sets
Understanding oplog
Learning about replication and oplog changes
Understanding the arbiter node's role
Summary
Chapter 5: Replica Set in Action
Overview of replica sets
Before deploying a replica set
Configurations of a replica set
Deploying a replica set
Failover testing
Summary
Chapter 6: Understanding the Concept of Sharding
Understanding scaling
Learning about sharding
Summary
Chapter 7: Sharding in Action
Preparing the environment
Implementing configuration servers
Configuring a mongos instance
Managing a mongos instance
Adding shards to mongos
Enable sharding
Summary
Chapter 8: Analyzing and Improving Database Performance
Understanding profiling
Introducing other analytics methods
Introducing indexes
Summary
Chapter 9: Migrating Instances and Reducing Downtime
Understanding the migration process
Migrating a replica set in action
Migrating a standalone mongod instance
Summary
Chapter 10: Monitoring and Troubleshooting the Database
Understanding monitoring strategies
Introducing web-based utilities
Introducing FusionReactor
Introducing self-hosted utilities
Summary

Book Details

ISBN 139781783986729
Paperback164 pages
Read More

Recommended for You

MongoDB Data Modeling
$ 10.00
Web Development with MongoDB and Node.js
$ 21.60
PHP and MongoDB Web Development Beginner’s Guide
$ 26.99