Practical MongoDB and Drupal

Time slot: 
March 10th, 11:00 AM - 12:00 PM
Room: 
Sheraton 2 & 3
Track: 
Coder
Experience: 
Intermediate

With Drupal7's plugable class architecture (i.e., fields and queues), we can easily swap Drupal's underlying data storage. MongoDB is a high performance NoSQL database that is significantly faster than mysql for reads and writes. Examiner.com, a top 100 North American website, pioneered the use of MongoDB and Drupal to serve millions of dynamic pages (no page caching) every day.

This session will teach you how and why you should use several new MongoDB-based modules created by Examiner.com to speed up your site. We'll cover using MongoDB field storage to read and write complete documents in a single query, using MongoDB watchdog to store application logs with counts and automated rollover at virtually no system cost, using MongoDB block for sites with many blocks and complicated visibility rules, and using MongoDB sessions and queues because these are extremely fast. Learn how to query using Field API or directly in MongoDB and how to write great NoSQL queries and create indexes.

Video at archive.org.

Intended audience: 

The intended audience for this session is somewhat experienced Drupal developers of medium to large sized sites.

Previous MongoDB talks have focused on more theoretical topics, this talk is intended to be about practical applications - we'll be talking through actual implementations and code examples. Please familiarize yourself with the basics of MongoDB at http://try.mongodb.org.

Questions answered by this session
Question 1: 
What's so special about Examiner.com as a Drupal site and NoSQL as a data storage engine?
Question 2: 
Who should use MongoDB? The short answer is anybody who cares about performance, the not quite as short answer is anybody who cares about performance and uses fields, and the longer answer is come to this session.
Question 3: 
How do I write a performant MongoDB queries? Know how to use indexes, and we'll cover this in-depth.
Question 4: 
What are the advantages of MongoDB watchdog and why is it better than core dblog and syslog?
Question 5: 
How can you handle so many sessions? Why do you care about write performance and how does MongoDB sessions solve this?
Practical MongoDB and Drupal has been selected and voting is closed.

Comments

To bad there was no MongoDB

To bad there was no MongoDB session at the dev days in Brussels. I hope that somebody is willing to record and publish this session!

Presentation slides

Video

Diamond Sponsors

 
Palantir.net
VPS NET

Platinum sponsors

 
Trellon
workhabit

Gold Sponsors

 
Drupal Connect
Treehouse Agency
HotDrupal.com
Chapter Three
NorthPoint
Duo
Microsoft