Archive for the ‘MongoDB’ Category

Wordnik is an unconventional dictionary who’s goal is to show you as much information as possible, as fast as they can find it, for every word in English.

Wordnik is a heavy user of 10Gen’s nosql database MongoDB. They just recently blogged about their 1 year anniversary of moving from MySql to MongoDB. Some of the statistics include:

  • MongoDB servers an average of 500k requests/per hour. With 4x that number during peak periods
  • More than 12 billion documents stored by MongoDB
  • Around 3 TB storage per node
  • Easily sustained insert speeds of 8k documents/second, often with bursts to 50k documents/second
  • Every retrieval type is faster than MySql
    • example fetch time reduced from 400ms to 60ms
    • dictionary entries from 20ms to 1ms
    • document metadata from 30ms to .1ms
    • spelling suggestions from 10ms to 1.2ms

Mongomatic Ruby MongoDB Library

Mongomatic, from Ben Myles, is a new Ruby library for accessing MongoDB documents.

The primary design goals of Mongomatic are simplicity and adherence to MongoDB conventions. Mongomatic is not an ActiveRecord clone and has been designed to fit nicely with the document-oriented nature of MongoDB.

The library requires ActiveSupport (2 or 3) and the Ruby MongoDB driver.  Ruby versions 1.8.x and 1.9.x are supported. Other versions of Ruby may be supported but have not been tested.

Mongomatic can be installed from GitHub or via RubyGems.

GitHub

git clone http://github.com/benmyles/mongomatic.git

Ruby Gems

gem install mongomatic

Great presentation on the usage of the two most well known NoSql document databases. CouchDB and MongoDB. Also an excellent explanation of map/reduce.

nosql-mongodb-logo

MongoDB

Today 10Gen, the creators of MongoDB, announced in a blog post that MongoDB 1.4 is production ready.

Some of the new features and enhancements include:

Core server enhancements

  • indexing memory improvements
  • background index creation
  • better detection of regular expressions so the index can be used in more cases

Replication and Sharding

  • better handling for restarting slaves offline for a while
  • fast new slaves from snapshot
  • $inc replication fixes
  • 2 phase commit on config servers

Deployment and production

  • ability to do fsync + lock for backing up raw files
  • option for separate directory per database
  • REST interface is off by default
  • rotate logs with the db command logRotate
  • new mongostat tool and db.serverStatus enhancements

Query language improvements

  • $all with regex
  • $not
  • partial matching for array elements $elemMatch
  • $ operator for updating arrays
  • $addToSet
  • $unset
  • $pull supports matching objects
  • $set with array indices

Geo

  • 2d geospatial search
  • geo $center and $box searches

For more information, read the full release notes here.

nosql-mongodb-logo

Try MongoDB Now

Wanted to try out MongoDB, but have no time to install and configure it? Well head over to http://try.mongodb.org/ and play around with MongoDB within your browser.

10Gen MongoDB NoSql Database

10Gen MongoDB

Full-day April 30th event in San Francisco to explore development on the NoSql document database MongoDB

The conference features sessions on database internals, schema design, GridFS, replication, sharding, and more. In addition to these topics, attendees can learn about MongoDB in the real world through a series of presentations about production deployments at Justin.tv, Boxed Ice, Punchbowl Software, and Harmony App.

Small, hands-on, language-specific development workshops will take place alongside the presentation tracks. The Conference Center Lounge will also be available for the duration of the conference for hacking, networking, and discussion.

DATE: Friday April 30, 2010

TIME: 8:30am – 5:30pm

LOCATION: Bently Reserve, 400 Sansome Street, San Francisco, CA 94111

BUY TICKETS: Register

© Copyright Kommunicate Inc. All Rights Reserved.