SECTION VIDEOCache architecture
COMING SOONVideo coming soon. Start with the reading below.
Cache is extremely important for a news feed system. We divide the cache tier into 5 layers as shown in Figure 11-8.

- News Feed: It stores IDs of news feeds.
- Content: It stores every post data. Popular content is stored in hot cache.
- Social Graph: It stores user relationship data.
- Action: It stores info about whether a user liked a post, replied a post, or took other actions on a post.
- Counters: It stores counters for like, reply, follower, following, etc.
Progress is saved on this device.