Monthly Archives: July 2010

On MongoDB Master Slave Configuration

It’s pretty straight forward to setup a Master/Slave configuration for MongoDB. If you want to experiment on a single Windows box, use the steps below: Start by creating the data directories: c:\Users\John> cd c:\data c:\data>mkdir masterdb c:\data>mkdir slavedb1 c:\data>mkdir slavedb2 … Continue reading

Tagged | Leave a comment

On Sequences with MongoDB and NoRM

One of the first things I noticed when I started to move some code from NHibernate/SQL Server to NoRM/MongoDB is that ObjectIds look funny in MVC URLs. In other words: http://codevoyeur.com/articles/show/bd342503dbbd3c94e1010000 vs. http://codevoyeur.com/articles/show/10 NoRM’s overloaded operators let ObjectIds and strings … Continue reading

Tagged , | Leave a comment

On MapReduce in MongoDB

MapReduce can be a confusing concept to understand at first. It’s not that it’s some terribly complex thing, but rather when you work with it in tools like MongoDB, you’re simply not exposed to all the pieces. I’m hoping this … Continue reading

Tagged , , | 3 Comments

On A Simple IronPython Route Mapper for ASP.NET MVC

Another Code Voyeur article showing how to replace XML or compiled configuration with IronPython. This one moves ASP.NET MVC route mappings to a Python file. http://www.codevoyeur.com/Articles/21/A-Simple-IronPython-Route-Mapper-for-ASP.NET-MVC.aspx

Tagged , , | Leave a comment

On Relational Against the Machine

While out for a run this past weekend, Rage Against the Machine’s “Township Rebellion” got a turn on my Shuffle. As I was listening, a line caught my attention – “Lord, I wish I could be peaceful. But there can … Continue reading

Tagged , | 2 Comments