This document summarizes Skye Book's presentation on how she refactored the data model and queries at her company Ultravisual to improve the performance of the user feed. Some key points: - The original data model used multiple queries to fetch posts, collections, and social activity for user feeds, which was slow and didn't scale well. - The new model treats the feed as a log of user activity, storing all "stories" like posts, follows, etc. as a single row per user for fast retrieval with one query. - Additional optimizations included caching the story JSON, handling deletions, and modeling onboarding flows as sequenced feed entries. - Production experiences included moving to more robust