Making News Feed nearly 50% faster on iOS
Oct 31, 2014Adam Ernst

Summary
Replaced Core Data with a new data model layer for News Feed on iOS. The new layer uses immutable PONSOs (plain ol' NSObjects) with denormalized storage and asynchronous, opt-in consistency. This change resulted in a nearly 50% performance improvement by addressing Core Data's performance issues with a large number of entities and fields. A protocol-based approach was used for gradual migration and A/B testing.
More from the News Feed and Timeline Evolution trail
- Friend Bubbles: Enhancing Social Discovery on Facebook Reels
- A New Ranking Framework for Better Notification Quality on Instagram
- Inside Facebook’s video delivery system
- Improving Instagram notification management with machine learning and causal inference
- A linear programming approach for optimizing features in ML models