logoalt Hacker News

timewizard02/19/20251 replyview on HN

> This process involves looking up all of your followers, then inserting a new row into each of their Timeline tables in reverse chronological order with a reference to your post.

Seriously? Isn't this the nut of your problem right here?


Replies

jsnell02/19/2025

What alternative design did you have in mind, given that a Twitter-like data model of individual follows is likely a strict product requirement?

There are obviously other ways of doing it (doing the timeline propagation in a batch job, fanning out the reads rather than the writes), but they've got their own problems. Probably worse ones.

show 1 reply