News for hackers. Stuff that matters.
Re:Why Twitter didn’t go down: From a real Twitter SRE by naasking on Tuesday November 22, 2022 @10:39AM (#33706916)
Because you can't edit tweets, the database is monotonically increasing (append-only) so scaling it isn't that hard. Cache invalidation basically just adds a new item. Deleting a tweet actually would be the harder/more expensive operation, but it's also less common.
Re:Why Twitter didn’t go down: From a real Twitter SRE by grishka on Wednesday November 23, 2022 @02:03AM (#33716082)
Editing a tweet is also easy because the feeds would only store its id. You'd only need to invalidate one cache where the tweet object itself is stored.