Contribute Media
A thank you to everyone who makes this possible: Read More

A deep dive into the Pymongo MongoDB driver

Description

Joe Drumgoole - A deep dive into the Pymongo MongoDB driver [EuroPython 2016] [21 July 2016] [Bilbao, Euskadi, Spain] (https://ep2016.europython.eu//conference/talks/a-deep-dive-into-the-pymongo-mongodb-driver)

The Pymongo driver is one of MongoDB’s most popular driver interfaces for connecting to MongoDB. But developers rarely look under the cover to see what’s happening inside the driver.

By having a deeper insight into how the driver constructs server requests and responds, developers will be able to write more effective MongoDB applications in Python.


The Pymongo driver is one of MongoDB’s most popular driver interfaces for connecting to MongoDB. But developers rarely look under the cover to see what’s happening inside the driver.

By having a deeper insight into how the driver constructs server requests and responds, developers will be able to write more effective MongoDB applications in Python.

We will look at :

  • Initial connection
  • A query
  • A simple write operation
  • A bulk write operation
  • How the driver responds when we have a node failure

We will also give insight into the driver’s approach to server selection when connecting to a replicas set (a multi-node instance of MongoDB).

Improve this page