MongoDB for Administrators Training Course

Duration

14 hours (usually 2 days including breaks)

Requirements

Basics of an operating system administration.

Overview

This course covers everything a database administrator needs to know to successfully deploy and maintain MongoDB databases.

Diagnosing performance issues, importing and exporting data, and establishing the proper backup and restore routines, overview of the MongoDB CRUD API, the command shell, and the drivers are also covered.

The audience of this course include people who want to:

  • Understand MongoDB from a developer’s perspective, including its command shell, query API, and driver tools.
  • Deploy MongoDB in all its configurations – as a single server, with master/slave replication, as a replica set, and as a sharded cluster.
  • Evaluate applications and choose hardware appropriately.
  • Monitor MongoDB instances and integrate with standard monitoring software (Munin, Nagios, etc.)
  • Plan for backups and manage large data imports and exports.
  • Troubleshoot the most common developer issues and failure scenarios.

Each delegate will need to perform a series of practical exercises.

Course Outline

MongoDB Architectural Overview

  • Origin, design goals, key features
  • Process structure (mongos, mongod, config servers)
  • Directory / file structure

Working with the MongoDB Shell

  • Documents and data types
  • CRUD (Inserts, queries, updates, deletes)
  • System commands

Single-server Configuration and Deployment

  • Configuration files
  • Data files and allocation
  • Log files
  • Hardware and file-system recommendations

Security

  • Built-in authentication
  • Recommendations for secure deployment

Monitoring MongoDB

  • mongostat
  • Analyzing memory and IO performance
  • Integration with monitoring tools: Munin / Cacti / Nagios
  • MongoDB’s web console

Indexing and Query Optimization

  • Managing indexes and MongoDB indexing internals
  • Single / Compound / Geo indexes
  • Identifying sub-optimal queries. Using the query profiler.

Introduction to drivers (Java/Python/Ruby/PHP/Perl)

  • How the drivers and shell communicate with MongoDB
  • BSON and the MongoDB Wire Protocol
  • Troubleshooting application connections

Intro to Read and Write scalability

Replication and Durability

  • Master-slave replication
  • Replica sets
  • Using write concern for durability
  • Handling replication failures

Auto-Sharding

  • How sharding works
  • Setting up a MongoDB shard cluster

Choosing a shard key

Sharding and indexes

  • Sharding and Replica Set Topologies
  • Administering a sharded cluster

Shard / Chunk Migration

Backup and Restore Plans

  • Filesystem-based strategies
  • mongodump / mongorestore
  • rsync
  • mongoimport / mongoexport

FARM (FastAPI, React, and MongoDB) Full Stack Development Training Course

Duration

14 hours (usually 2 days including breaks)

Requirements

  • Experience with web development
  • JavaScript and Python programming experience

Audience

  • Developers

Overview

FARM (FastAPI, React, and MongoDB) is similar to MERN, but performs faster with Python and FastAPI replacing Node.js and Express as the backend. FastAPI is a high-performance Python web framework used by top companies, such as Microsoft, Uber, and Netflix. React is an open source front-end JavaScript library, while MongoDB is a fully scalable NoSQL database.

This instructor-led, live training (online or onsite) is aimed at developers who wish to use the FARM (FastAPI, React, and MongoDB) stack to build dynamic, high-performance, and scalable web applications.

By the end of this training, participants will be able to:

  • Set up the necessary development environment that integrates FastAPI, React, and MongoDB.
  • Understand the key concepts, features, and benefits of the FARM stack.
  • Learn how to build REST APIs with FastAPI.
  • Learn how to design interactive applications with React.
  • Develop, test, and deploy applications (front end and back end) using the FARM stack.

Format of the Course

  • Interactive lecture and discussion.
  • Lots of exercises and practice.
  • Hands-on implementation in a live-lab environment.

Course Customization Options

  • To request a customized training for this course, please contact us to arrange.

Course Outline

Introduction

  • What is FARM stack?
  • FARM vs MERN

Getting Started

  • Setting up the development environment
  • Setting up a MongoDB Atlas account
  • Installing dependencies
  • Connecting FastAPI with MongoDB

Building REST APIs (FastAPI)

  • CRUD operations
  • Updating the APIs
  • MongoDB functions
  • Testing the APIs

Developing the Frontend with ReactJS

  • Creating a React project
  • Installing axios and bootstrap
  • Styling, CSS, and JSX
  • Adding interactive functions
  • Testing the application

Deploying the Application

  • Backend deployment (Heroku)
  • Frontend deployment (GitHub)

Securing the Application

  • Authentication and user management
  • Routers and access permissions

Troubleshooting

Summary and Next Steps

Data Analysis with MongoDB Aggregation Framework Training Course

Duration

14 hours (usually 2 days including breaks)

Requirements

  • An understanding of data analysis concepts
  • Experience with MongoDB

Audience

  • Data analysts
  • Data scientists

Overview

The MongoDB Aggregation Framework is a simplified and sequential approach to querying, transforming, and processing data in MongoDB.

This instructor-led, live training (online or onsite) is aimed at data analysts and data scientists who wish to use the MongoDB Aggregation Framework to perform data analysis while simplifying complex operations and aggregation pipelines.

By the end of this training, participants will be able to:

  • Install and configure MongoDB for data analysis.
  • Understand the concepts and stages of the MongoDB Aggregation Framework.
  • Learn about the basic structure, syntax, and operations for aggregation.
  • Learn how to handle advanced operations in aggregation.
  • Apply some optimization tools and techniques to improve aggregation performance.

Format of the Course

  • Interactive lecture and discussion.
  • Lots of exercises and practice.
  • Hands-on implementation in a live-lab environment.

Course Customization Options

  • To request a customized training for this course, please contact us to arrange.

Course Outline

Introduction

  • What is MongoDB’s Aggregation Framework?
  • Aggregation Framework vs Map-Reduce

Understanding Aggregation Concepts

  • Aggregation pipelines
  • MongoDB aggregation stages
  • Use cases and examples

Getting Started

  • Installing and configuring MongoDB
  • Exploring MongoDB Compass and Studio 3T
  • Basic CRUD operations

Aggregation Basics

  • Structure and syntax
  • Query conditions ($match)
  • Inclusion and exclusion of fields ($project)
  • Grouping documents ($group)
  • Working with arrays ($unwind)
  • $lookup and $graphLookup stages
  • Expression operators

Advanced Operations in Aggregation

  • Categorizing documents ($bucket)
  • Multi-faceted aggregations ($facet)
  • Accumulator expressions ($accumulator)
  • Writing results to a collection ($merge)

Optimizing Aggregation Pipelines

  • Projection optimization
  • Pipeline sequence optimization
  • Pipeline coalescence optimization
  • Indexes and document filters

Troubleshooting

Summary and Next Steps

Building REST APIs with Node.js, Express, and MongoDB Training Course

Duration

14 hours (usually 2 days including breaks)

Requirements

  • Experience with web development
  • Javascript programming experience

Audience

  • Developers

Overview

Node.js is an open source Javascript runtime environment. Express is a backend web application framework. MongoDB is a scalable document database. Combining Node.js, Express, and MongoDB provides a powerful set of features for building web applications or REST APIs.

This instructor-led, live training (online or onsite) is aimed at developers who wish to use and integrate Node.js, Express, and MongoDB to build fast and scalable REST APIs.

By the end of this training, participants will be able to:

  • Set up and integrate Node.js and Express with MongoDB.
  • Understand the features and architecture of Node.js, Express, and MongoDB.
  • Learn how to build RESTful APIs using the Node.js, Express, and MongoDB backend stack.
  • Implement routes, filtering, sorting, and pagination to Node.js REST APIs.
  • Design data models and perform CRUD operations with MongoDB and Mongoose.
  • Test and debug APIs with Postman.

Format of the Course

  • Interactive lecture and discussion.
  • Lots of exercises and practice.
  • Hands-on implementation in a live-lab environment.

Course Customization Options

  • To request a customized training for this course, please contact us to arrange.

Course Outline

Introduction

  • Overview of Node.js, Express, and MongoDB features and architecture
  • Fundamental concepts of REST APIs

Getting Started

  • Setting up Node.js and Express
  • Connecting to MongoDB
  • Using Postman

Building REST APIs

  • Designing APIs
  • Implementing routes
  • Filtering, sorting, and pagination
  • Error handling

Data Modeling with MongoDB

  • Designing a data model
  • CRUD operations
  • Using MongoDB with Mongoose
  • Aggregation pipelines

Testing APIs with Postman

  • Creating and saving a message
  • Retrieving messages from the database
  • Finding a single message
  • Updating and deleting messages
  • Debugging API endpoints

Troubleshooting

Summary and Next Steps