News for hackers. Stuff that matters.
Re:Cloudflare Is Having Issues by taubek on Monday June 12, 2023 @11:06AM (#36294889)
Is this the reason for access issues to Hacker News at the moment?
Re:Cloudflare Is Having Issues by LinuxBender on Monday June 12, 2023 @11:18AM (#36295029)
Probably not, at least not directly. HN is hosted on M5 Computer Security at the moment and it's DNS is AWS. 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.
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.

Re:Cloudflare Is Having Issues by Gasp0de on Monday June 12, 2023 @11:25AM (#36295134)
I am getting 504 errors trying to load hacker news in Germany, I think it's possible it has to do with the cloudflare outage.
Re:Cloudflare Is Having Issues by iso1631 on Monday June 12, 2023 @11:36AM (#36295296)
Why do you think that? Because of increased load from people visiting HN to discuss it?
Re:Cloudflare Is Having Issues by Gasp0de on Tuesday June 13, 2023 @03:52AM (#36306980)
No, because 504 means "Gateway Error" which means the original server is not at fault but some gateway in between (like a CDN)
Re:Cloudflare Is Having Issues by marginalia_nu on Monday June 12, 2023 @11:27AM (#36295170)
HN's slowness is probably knock-on result of Reddit's outage. It's where a lot of people to go to discuss the Reddit shit-tornado.
Re:Cloudflare Is Having Issues by xxs on Monday June 12, 2023 @11:33AM (#36295251)
The advice in such cases: "logout". Hacker News has a lot easier time when service 'static' content.

...and I had to login just to say this...

Re:Cloudflare Is Having Issues by perihelions on Monday June 12, 2023 @11:35AM (#36295289)
I think it's just too many Reddit refugees at once.

PSA: if you browse HN in logged-out mode (e.g. a private tab), you can receive cached versions of HN threads that load much faster. The logged-in experience is currently worse than the logged-out: dynamic content generation for user-account stuff seems to be hitting a slow path on the server.

Re:Cloudflare Is Having Issues by travisjungroth on Monday June 12, 2023 @12:19PM (#36296013)
This isn’t the exact same, but there’s a similarity in order-of-magnitude differences and flow rates: Most professional pilots work for the airlines. When you remove military, it’s a huge majority. Most pilot jobs flow into the airlines. It’s a pretty cohesive labor market.

So, whatever market forces are going on for pilot labor in your little niche job are completely dominated by the airlines. Like you’d think banner towing jobs would be mostly affected by advertising trends, but they’re not. Passenger travel trends are way more important. (This is for the job market, not the business market)

Similarly, the flow from a way bigger site can overwhelm whatever you have going on.

Re:Cloudflare Is Having Issues by chaikasumu on Monday June 12, 2023 @11:36AM (#36295293)
I think that is pretty unlikely. HN doesn't use Cloudflare at all as far as I know, and not to downplay the scope of the outage, but Cloudflare's core CDN Offering is fine. Other core services such as Cloudflare Pages/Workers/KV are also fine. This is mostly addon/developer products, the biggest of which (imo) being R2. If you log out, it loads a lot faster (at least the main/cached pages)
Re:Cloudflare Is Having Issues by scrum-treats on Monday June 12, 2023 @11:40AM (#36295359)
Looks like it is AWS. Given the fact that both Reddit and HN (and Apple, which is also experiencing issues) are on AWS, it looks suspicious.

Also, new account creation in HN is broken at the moment.

Re:Cloudflare Is Having Issues by capableweb on Monday June 12, 2023 @11:44AM (#36295410)
I don't know about Reddit, but I'm fairly sure HN isn't hosted at Amazon.
Re:Cloudflare Is Having Issues by Zetobal on Monday June 12, 2023 @11:46AM (#36295444)
It was for a really short time last year when there was a bad hardware failure.