Главная
Study mode:
on
1
Intro
2
MongoDB
3
Drivers and Frameworks
4
BSON Side Bar
5
Single Server
6
Replica Set Primary Failure
7
Replica Set Election
8
Replica Set New Primary
9
Replica Set Recovery
10
Sharded Cluster
11
Driver Responsibilities Driver
12
Example API Calls
13
Start MongoClient
14
Client Side View
15
Topology
16
Insert Will Block
17
ismaster response from Host 1
18
Later Host 3 Responds
19
Steady State
20
Life Intervenes
21
Monitor may not detect
22
So Retry
23
Check for Primary
24
Host 2 Is Primary
25
What Does This Mean? - Connect
26
What Does This Mean? - Queries
27
What Does This Mean? - Inserts
28
What Does This Mean? - Updates
29
Configuration
30
connectTimeoutMS
31
More Reading
Description:
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.

A Deep Dive into the Pymongo MongoDB Driver

EuroPython Conference
Add to list
00:00
-00:53