Replica Set Internals Bootcamp Part IV: Syncing

I’ve been doing replica set “bootcamps” for new hires. It’s mainly focused on applying this to debug replica set issues and being able to talk fluently about what’s happening, but it occurred to me that you (blog readers) might be interested in it, too. There are 8 subjects I cover in my bootcamp: Elections CreatingContinue reading “Replica Set Internals Bootcamp Part IV: Syncing”

A finite simple group of order two

Andrew and I just returned from our honeymoon in the mountains, so I am now going to wax boring about how awesome it was. We really love rock climbing, so we went on a lot of rock scrambles. Rock scrambles involve “scrambling” around rocks, boulders, little cliffs, and crevices. We skittered down slippery sheets ofContinue reading “A finite simple group of order two”

Firesheep: Internet Snooping made Easy

If you use an open wifi network, people around you can see what you’re doing. They not only can look at your accounts, but log in as you with a double click. Even if you’re non-technical (especially if you’re non-technical!) you should know how this works and how to protect your accounts. Here’s what’s happening:Continue reading “Firesheep: Internet Snooping made Easy”

How not to get a job with a startup

10gen is in super-recruiting mode, trying to scoop up all the great graduates before Google and Microsoft absorb them. I’ve been doing what feels like endless recruiting activities, and I’ve noticed that lot of applicants shoot themselves in the foot. So, here’s what not to do: First contact Don’t: contact the startup before you knowContinue reading “How not to get a job with a startup”

Public Speaking: The Prequel

There’s a video that everyone seems to have seen of me (seriously, when I went to Brazil everyone mentioned it) presenting MongoDB to the San Francisco Java User Group.  Unfortunately, I think it’s the worst presentation I’ve ever given, partly because of the lead-up and partly because of inexperience. I looked up directions and gaveContinue reading “Public Speaking: The Prequel”

Testing MongoDB Replica Pairs with Perl

I was just fixing this, and it’s a pain to setup/test, so I figured I’d put up what I did here, so at least I’d never have to figure it out again.  So, start two db servers and an arbiter: $ mkdir ~/data1 $ mkdir ~/data2 $ $ ./mongod –pairwith localhost:27018 –arbiter localhost:27019 –dbpath ~/data1Continue reading “Testing MongoDB Replica Pairs with Perl”