Meta

Making News Feed nearly 50% faster on iOS

Oct 31, 2014Adam Ernst
Making News Feed nearly 50% faster on iOS
SummaryAI, from the source post

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