Re:Ask HN: Best Framework to build Reddit in 2021?
by Black101 on Sunday July 04, 2021 @07:11PM
(#27733366)
what do you know? use that. Also you could start with reddit's latest opensource version.
[ Parent
| on HN ]
Re:Ask HN: Best Framework to build Reddit in 2021?
by OmegaPG on Sunday July 04, 2021 @07:50PM
(#27733541)
I can use Ruby on Rails but I don't think an RoR app can handle thousands of comments per minute in an optimised way. I run a midsize app in Rails 5 and already having lot of scaling issues.
Iirc Reddit stopped open sourcing their code from 2017 and I guess understanding and running that 12 year old spaghetti code wasn't worth it anyway. I don't see anything useful on their github page too https://github.com/reddit
Re:Ask HN: Best Framework to build Reddit in 2021?
by nik736 on Monday July 05, 2021 @01:11AM
(#27734810)
Rails will handle "thousands of comments" just fine. If you are hitting scaling issues with a midsize Rails app you probably could look into how to optimize.
Throwing Mongo at the problem is not really a solution.
Re:Ask HN: Best Framework to build Reddit in 2021?
by aprdm on Monday July 05, 2021 @01:16AM
(#27734826)
GitHub and shopify are written in RoR afaik, many millions of requests go through them just fine
Re:Ask HN: Best Framework to build Reddit in 2021?
by Black101 on Sunday July 04, 2021 @10:45PM
(#27734247)
Its not like reddit improved since 2017... they added silver, copper and a sucky new interface but I dont think that helps anyone.
Re:Ask HN: Best Framework to build Reddit in 2021?
by jesterson on Monday July 05, 2021 @02:03AM
(#27735030)
Worst possible advice, if you pardon my borderline rudeness. That's what most programmers do, following famous saying that for someone with a hammer every problem looks like a nail.
Re:Ask HN: Best Framework to build Reddit in 2021?
by ozzythecat on Wednesday July 07, 2021 @09:42PM
(#27767686)
Ops problem is more architecture and scale, IMO, as opposed to what coding language or JS framework.
I’d start with Postgres on the back end and then work with scale as needed over time. The service can be written in pretty much any language like Kotlin, Java, Python, or even Rust if you want. Personally I’ve never used Swift server side.
IMO the worse option is to try to over optimize and use some shiny technology that you don’t understand how to use.