This blog post covers four major ones: Single server Master-slave Replica pairs Sharding Feel free to jump to the ones that interest you (for instance, sharding). Just start up a database, Ace Starting up a vanilla MongoDB instance is super easy, it just needs a port it can listen on and a directory where itContinue reading “There must be 50 ways to start your Mongo”
Category Archives: MongoDB
Sharding with the Fishes
Sharding is the not-so-revolutionary way that MongoDB scales writes (it’s very similar to techniques described in the Big Table paper and by PNUTS) but many people are unfamiliar with what it is and how it works. If you’ve seen a talk on MongoDB or looked at the website, you’ve probably seen a diagram of shardingContinue reading “Sharding with the Fishes”
Sleepy.Mongoose: A MongoDB HTTP Interface
The first half of the MongoDB book is due this week, so I wrote a REST interface for Mongo (I’m a prolific procrastinator). Anyway, it’s called Sleepy.Mongoose and it’s available at https://github.com/10gen-labs/sleepy.mongoose. Installing Sleepy.Mongoose Install MongoDB. Install the Python driver: $ easy_install pymongo Download Sleepy.Mongoose. From the mongoose directory, run: $ python httpd.py You’ll seeContinue reading “Sleepy.Mongoose: A MongoDB HTTP Interface”
MongoDB Survey Results
A few weeks ago we did a survey and I thought people might be interested in the results. Check out my post on how people are using Mongo on the official MongoDB blog.
“Introduction to MongoDB” Video
This is the video of the talk I gave last Sunday at the NoSQL Devroom at FOSDEM. It’s about why MongoDB was created, what it’s good at (and a bit about what it’s not good for), the basic syntax for it and how sharding and replication work (it covers a lot of ground). You canContinue reading ““Introduction to MongoDB” Video”
FOSDEM: Some Pictures
This picture was taken by outerthought at FOSDEM. People look fairly interested 🙂 There was a guy on the other side of the room who was asleep the whole time, but he was old and I tried not to look at him. You can see I’m all super-professional in my XKCD “I’m not slacking off,Continue reading “FOSDEM: Some Pictures”
FOSDEM
I gave a talk at FOSDEM (Free and Open Source Developers European Meetup) this morning: “Introduction to MongoDB”. It went pretty well, I think. Slides are up at scribd.com and it was recorded, so the video for it should be somewhere soon (I’ll update when I find out where). The trip across the Atlantic wasContinue reading “FOSDEM”
MongoDB PHP Driver 1.0.3 Release
Version 1.0.3 was released today. Everyone should upgrade because there were some weird bugs in 1.0.2 due to a half-complete feature that was added in 1.0.2 and has since been removed. Unfortunately, because I’ve had to bump up the release date, the big feature that was scheduled for 1.0.3, asynchronous queries, has been pushed toContinue reading “MongoDB PHP Driver 1.0.3 Release”
Upcoming Talks
Want to learn more about MongoDB? Here’s the places I’ll be speaking in the next month or so: January 13th – DC PHP Meeting (http://www.dcphp.net/) January 19th – New York Perl Mongers Seminar (http://tech.groups.yahoo.com/group/perlsemny/) January 25th – Long Island PHP User Group (http://www.liphp.org/) February 7th – FOSDEM – Free and Open Source Developers European MeetupContinue reading “Upcoming Talks”
Mongo Just Pawn in Game of Life
This is in response to this nifty blog post on storing a chess board in MySQL and this snarky Tweet about NoSQL DBs (because I’m never snarky). On the one hand, I can’t believe I’m doing this. What database can’t store a chessboard? On the other hand, it’s fun, and once I thought of theContinue reading “Mongo Just Pawn in Game of Life”
