top | item 36305216

(no title)

cranekam | 2 years ago

If a DB check is needed to see if a sub is private or not it has to happen for every request. You can’t just limit the check to private subs because it’s not known if they are private or not at the time.

Reddit goes wrong often so I expect this outage could have any number of causes.

discuss

order

jallen_dot_dev|2 years ago

> You can’t just limit the check to private subs because it’s not known if they are private or not at the time.

That's not necessarily true. Perhaps the status of subreddits is cached (because there's no reason to hit the DB 100 times/second to check if r/funny is private or public). But for a given request to a private sub, it would need to check each user.