@arjay_mccandless: System Design: Instagram Feed This has gotta be one of the most common questions I’ve seen in interviews. If you want to learn how to design complex systems like this from first principles, check out The Daily Dev on the App Store. #coding #systemdesign #programming #csmajors
This is very misleading. If an interviewer asks for "a feed like Instagram" to be recreated that means they expect a system that will show the user irrelevant posts no matter how much they don't want them.
2026-05-24 20:11:51
290
wackohunter3 :
Ooh I remember this from Designing Data Intensive Applications. Nicely explained
2026-05-24 20:29:04
80
Richard Mc Cauley :
Even further Tik Tok pre downloads 15 posts to be viewed as soon as the user opens the app then as soon as the user starts scrolling the app send to the server that the user is active what is his next 5 posts. It can then take its time to get it as the user still has 14 posts to go through slowly getting the next page of feed while the user looks through predownloaded content.
2026-05-27 06:27:49
2
youDontKnowMe :
hashmap! the answer is hashmap!
2026-06-18 21:08:18
1
Onlyユザー⭐🌟 :
So redis is important to use just like database itself
2026-05-26 19:45:18
0
Troy Hayes :
But
2026-06-15 22:11:05
0
Igor Donov :
Wait, every user has his feed in redis, this does not scale. More likely their feed would be in db capped to a max size
2026-06-20 09:48:09
2
Erinski Easy :
wow... this account is goated
2026-07-08 04:28:40
1
LegendaryLion :
Thank you for all the help in system design!!
2026-05-24 20:04:27
7
:
voicecrack
2026-05-24 20:50:53
0
user148254720562 :
the 🐈
2026-05-25 15:51:22
3
createwithfar :
Tech Wizard ✨
2026-05-26 00:56:02
0
Max Shulov メ'𝟶 :
What about just querying 20 last posts of users you follow and then lazy load them as you scroll
2026-05-24 23:29:22
1
To see more videos from user @arjay_mccandless, please go to the Tikwm
homepage.