YoVDO

A Deep Dive into the Pymongo MongoDB Driver

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Python Courses MongoDB Courses PyMongo Courses APIs Courses Database Management Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive deep into the Pymongo MongoDB driver in this 53-minute conference talk from EuroPython 2016. Explore the inner workings of one of MongoDB's most popular driver interfaces, gaining valuable insights into how the driver constructs server requests and responds. Learn to write more effective MongoDB applications in Python by understanding initial connections, queries, simple and bulk write operations, and node failure responses. Examine the driver's approach to server selection when connecting to replica sets, and discover how to handle primary failures, elections, and recovery in replica set configurations. Investigate client-side views, topology, insert blocking, ismaster responses, and retry mechanisms. Gain practical knowledge about connection timeouts and configuration options to optimize your MongoDB applications.

Syllabus

Intro
MongoDB
Drivers and Frameworks
BSON Side Bar
Single Server
Replica Set Primary Failure
Replica Set Election
Replica Set New Primary
Replica Set Recovery
Sharded Cluster
Driver Responsibilities Driver
Example API Calls
Start MongoClient
Client Side View
Topology
Insert Will Block
ismaster response from Host 1
Later Host 3 Responds
Steady State
Life Intervenes
Monitor may not detect
So Retry
Check for Primary
Host 2 Is Primary
What Does This Mean? - Connect
What Does This Mean? - Queries
What Does This Mean? - Inserts
What Does This Mean? - Updates
Configuration
connectTimeoutMS
More Reading


Taught by

EuroPython Conference

Related Courses

Artificial Intelligence for Robotics
Stanford University via Udacity
Intro to Computer Science
University of Virginia via Udacity
Design of Computer Programs
Stanford University via Udacity
Web Development
Udacity
Programming Languages
University of Virginia via Udacity