I\'m trying to model a voting system in MongoDB. You could imagine it as a voting system similar to reddit. Requirements:
Check out the Voting with Atomic Operators recipe in the Mongo Cookbook: http://cookbook.mongodb.org/patterns/votes/. It doesn't tell you how to implement aggregation, but you could perhaps do that by making stand-in objects that represent the objects to vote on, but for a specific time period.
If you are using ruby, there is a votable_mongo plugin for Mongoid & MongoMapper.