News for hackers. Stuff that matters.
Re:Show HN: Reddit clone built in no-code in two weeks by arghwhat on Friday August 06, 2021 @07:43AM (#28085787)
It does handle many orders of magnitude more users than this thing does though. As a site that is the source of many hugs of death, it's serving a hell of a lot of traffic, mostly successfully.

It could serve even more traffic if it was less bloated of course.

EDIT: Some random stats from 2019 suggest that they're handling ~1000 pageviews a second on average over a month, and a view can take >100 requests to load. Combine with surge load and you're dealing with some serious requests per second.

Re:Show HN: Reddit clone built in no-code in two weeks by colejohnson66 on Friday August 06, 2021 @09:47AM (#28087105)
Over 100 requests per load? That has to be static files like images, right? Do they not have a cache system for that (like what Cloudflare provides)?
Re:Show HN: Reddit clone built in no-code in two weeks by spiralx on Saturday August 07, 2021 @02:52PM (#28100917)
Articles, thumbnails, comments, votes, awards, users, I'm sure it all adds up considering the dynamic nature of what each user sees. And they do do a lot of caching to make it work:

https://redditblog.com/2017/1/17/caching-at-reddit/

Re:Show HN: Reddit clone built in no-code in two weeks by MattGaiser on Friday August 06, 2021 @10:25AM (#28087565)
A friend worked on a project that reached several hundred requests at one point.

Basically they had a 10 request component. Only one on the page so even though it wasn't that efficient, they didn't care.

But then their PM wanted 20 of them on a page. It was a Scrum team so velocity mattered, so they just had a for loop generate 20 of them.