No real big write required for this post other than this is a good post giving detailed instructions for installing MongoDB on Ubuntu. In addition, the post details how to use Ruby with MongoDB as well.
This next presentation is pretty interesting for a couple of reasons. First, I think it has an interesting sequence of slides that depict various architecture choices that could be made and why each one of them is not suitable, excluding of course the one that chooses MongoDB. Secondly, it effectively demonstrates the benefits of using documents versus the standard relational rows.
Monday, September 20, 2010 at 6:01AM | Derek Stainer
In this post, Wynn Netherland discusses a project ACLatraz, an open-source access control framework for Ruby applications built on the Redis key-value NoSQL Database.
Alex Sharp, the Lead Developer at OptimusDev, discusses in his presentation at Ruby Midwest some practical Ruby projects for MongoDB. Things are typically easier when you see a use case and an implementation that solves the use case. That is the approach that Alex has taken in his presentation he presents four use cases:
Accounting Application
Capped Collection Logging
Blogging App
Reporting App
There are several points that Alex discusses, however, here are a few highlights:
Instead of JOINs across separate tables you can use embedded documents.
Embedded documents eliminate many modeling headaches
In the following presentation Stu Hood, Technical Lead at Rackspace, discusses Cassandra and Ruby. Some of the more interesting points from the discussion are the reasons provided by Hood to use a solution like Cassandra.
Large dataset, specifically, dataset larger than one node can handle
Volitile dataset with write percentages greater than 25%
Expensive, to quote Stu "More than you can afford with a commercial solution"
Another point that is interesting, which is known but hasn't really been discussed in detail is Cassandra's lineage. It's widely known that Cassandra is a blend of Amazon's Dynamo and Google's BigTable solutions. Stu discusses what Cassandra has pulled from each data store.
Ryan Angilly, a Senior Developer from MyPunchbowl.com and self proclaimed "pretty awesome dude" brings us our next presentation about how MyPunchbowl.com integrated MongoDB into their software stack and into production in 60 hours.
Why did they choose MongoDB? Ryan lists six strengths of MongoDB:
Easy to get running
Open Source
Support in multiple (computer) languages. Prototype in Ruby, move to Java if necessary
Very active development
Full featured
Great ecosystem
Ryan does a good job of describing the various stages of development, testing and deployment. Finally, Ryan discusses where they are at 200 days later and what tripped them up during the process.