NoSQL: MongoDB and Site Analytics

| | bookmark | email

MongoDB and Site Analytics

Within a few hours, using Sinatra and the MongoDB Ruby driver, I had a little prototype working. Each hit was a single MongoDB operation, an upsert based on the host, with year, month, day, and hour information stored in nested hashes. The nested hashes were updated in the operation using $inc. It did not do much, but it was pretty cool.

tags:MongoDB

via NoSQL databases