This document discusses two app designs that use MongoDB: a feed reader and website analytics.
For the feed reader, it outlines how users, feeds, entries, and buckets would be modeled as collections. It describes how subscriptions, unsubscriptions, and marking entries as read would be done through atomic updates. Bucketing is used to efficiently populate a user's personalized feeds.
For website analytics, it addresses challenges like real-time reporting and efficient storage. Data is pre-aggregated into daily and monthly totals stored in time-scoped collections and databases to facilitate fast removal of old data. Hours, minutes, days, and months are broken out and incrementally updated to capture analytics at different resolutions.