News for hackers. Stuff that matters.
Re:Cloudflare Is Having Issues by MuffinFlavored on Monday June 12, 2023 @11:26AM (#36295144)
> HN is hosted on M5 Computer Security

Do we know if it is just like, one tall MySQL instance and a few RubyOnRails API instances? Not sure what would be used for "caching" as well.

> The load issues usually happen when a few popular threads have a really high comment count and dang usually has to enable pagination or other things to compensate.

Why not auto-turn it on at like 500 comments or so?

Re:Cloudflare Is Having Issues by LinuxBender on Monday June 12, 2023 @11:31AM (#36295224)
Do we know if it is just like, one tall MySQL instance and a few RubyOnRails API instances?

Two servers, one active and one standby. Both running Arc on BSD. No MySQL or Ruby.

Why not auto-turn it on at like 500 comments or so?

Best to ask dang directly on that one [email protected] as I have never seen the code and responsible adults don't let me near their code.

Re:Cloudflare Is Having Issues by nprateem on Monday June 12, 2023 @11:39AM (#36295336)
It always surprises me that a VC that has backed multiple tech unicorns can't run a scalable web site.
Re:Cloudflare Is Having Issues by dotnet00 on Monday June 12, 2023 @01:09PM (#36297016)
Considering all the trash that comes with heading in that direction (as has been repeatedly demonstrated by social media which has started off similarly to HN, only to turn around and shit on the people that helped them get going), I'm perfectly fine with a site that slows down a bit in special circumstances.
Re:Cloudflare Is Having Issues by Macha on Monday June 12, 2023 @12:32PM (#36296239)
It's not like they can go grab employees from one of their funded companies to go work on HN, and they've clearly been happy with the results of their level of engineering investment in HN.

(Besides, as Reddit is showing, do you want your discussion site run like a tech unicorn? Arguably things were better for users in the skeleton crew days)

Re:Cloudflare Is Having Issues by fathyb on Monday June 12, 2023 @11:46AM (#36295461)
I always felt like scalability and growth aren't goals here, which is something I like to be honest.
Re:Cloudflare Is Having Issues by nprateem on Monday June 12, 2023 @11:51AM (#36295542)
This must be a major funnel for them. The fact they can't even run a robust text-only website ought to be an embarrassment, but here we are. Every time there's a major tech story the site grinds to a halt until one guy jumps onto a server and ninjas it or whatever. Unprofessional to say the least.
Re:Cloudflare Is Having Issues by NicoJuicy on Monday June 12, 2023 @12:34PM (#36296269)
It's actually pretty impressive that they are running this from one server in their own programming language
Re:Cloudflare Is Having Issues by nprateem on Monday June 12, 2023 @01:02PM (#36296875)
Sure. Maybe they do the same as VCs. Use limited crappy resources in their own non-standard way to cripple growth.
Re:Cloudflare Is Having Issues by NicoJuicy on Tuesday June 13, 2023 @05:02AM (#36307520)
What kind of reaction is that?
Re:Cloudflare Is Having Issues by anamexis on Monday June 12, 2023 @11:33AM (#36295247)
HN is written in Arc, an experimental lisp dialect created by Paul Graham. I believe it runs on a single instance? Not sure though.

I believe pagination does turn on automatically at 500 comments.