Change the future

Sunday 2:30 p.m.–3 p.m.

A Crash Course in MongoDB

Andy Dirnberger

Audience level:
Novice
Category:
Databases/NoSQL

Description

This talk introduces MongoDB for developers who aren’t familiar with it through a detailed introduction to how to work with MongoDB from Python. This talk will cover the basics from installing PyMongo and connecting to a server, to creating, inserting, querying for, and updating documents. It will also briefly touch on topics such as aggregation and using MongoDB as a cache layer.

Abstract

MongoDB is a scalable, high-performance, open source, document-oriented NoSQL database. If features JSON-based document storage and dynamic schemas providing simplicity, power, and flexibility, combined with full indexes similar to what a traditional RDBMS user would expect. MongoDB also provides solid replication and high availability features as well as an auto-sharding system for transparent horizontal scaling.

This talk introduces MongoDB for developers who aren’t familiar with it through a detailed introduction to how to work with MongoDB from Python. This talk will cover the basics from installing PyMongo and connecting to mongod, to creating, inserting, querying for, and updating documents. It will also briefly touch on aggregation, geospatial indexes, and GridFS.

Some discussion will take place about useful integration points between Python and MongoDB, such as using MongoDB as a cache layer with the Beaker Caching API.