r/developersIndia • u/KeyserSosa CTO @ Reddit | AMA Guest • May 19 '23
AMA Hi Everyone! I'm Chris Slowe, CTO @ Reddit! AMA
I'll be on for the next hour or so answering questions (and with the advantage of time zones to be able to answer EVEN MORE overnight)
Proof and/or meme fodder included

Edit: omg wow! I'm typing as fast as I can! This is fantastic! Thanks for all the questions, everyone!!!
Edit 2: You asked your questions at lightning-speed. Despite my valiant attempts, I just couldn't manage to respond to all of you.
I deeply value the community and the time you took to engage with me. Apologies for not getting back to each of you. I'll try to trickle in more responses over the next few days!! Thanks so much for your participation!
2.0k
Upvotes
511
u/KeyserSosa CTO @ Reddit | AMA Guest May 19 '23
We're actually actively working on this one, but here are some challenges:
Threaded comments. The threads on reddit go deep, while the standard in the industry is to have only one level of replies. This makes pagination somewhat challenging
Related: react. Not a fan. We're actually rebuilding our web stack on Lit and it's noticeably faster
Dynamic feed: on post listings, we actually currently grab the next batch "on the fly" without much caching. If I can give one bit of advice: CACHE EVERYTHING EVERYWHERE. Whenever we've violated that rule, it's lead to tech debt and long term slowness. But, also remember, the three hardest problems in computer science are cache invalidation and off by one errors.