Deep dive: the fanout service
Play this lessonThis lesson comes with an interactive animation you can break and a chapter quiz.Why only IDs? Storing whole user and post objects in the feed cache would use a huge amount of memory. Only IDs are stored, with a configurable limit on how many per user. Most users only scroll the latest content, so the cache miss rate stays low.
The rest of this lesson is part of Pro
Pro unlocks every lesson with its animation, code challenge and quiz, plus every interview problem. ₹299 a month or ₹1,999 a year.
See Pro