Overview
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