News for hackers. Stuff that matters.
Re:Facebook-owned sites were down by elboru on Monday October 04, 2021 @12:16PM (#28748826)
Is it just me or HN also feels kinda laggy?
Re:Facebook-owned sites were down by bentcorner on Monday October 04, 2021 @02:36PM (#28750513)
General tip: If HN is being laggy and you're determined you want to waste some time here, open it in a private window. HN works extremely quickly if it doesn't know who you are.
Re:Facebook-owned sites were down by iamthemalto on Monday October 04, 2021 @02:46PM (#28750597)
Wow this really works, thank you. What actually is the reason for it being much faster in a private window? Is there so much tracking going on in a normal window?
Re:Facebook-owned sites were down by thinkingemote on Monday October 04, 2021 @02:52PM (#28750662)
its faster because the pages are cached, they are effectively static. It's slower when logged in because the pages are created dynamically as it has your username, tracking favourites, upvotes etc, and much of it cannot be quickly cached.
Re:Facebook-owned sites were down by ehsankia on Monday October 04, 2021 @07:33PM (#28753742)
Honestly surprised that HN, a website for techies, is so poorly coded. For example, the whole lack of proper "paging", with dang posting a disclaimer on every large thread for honestly over a year at this point and no progress. Or the fact that if you want to reply to a comment, it has to load a whole new page (which has to fetch more data from the server?) before getting to the comment box. Until recently, trying to collapse a large comment thread would also take 3s+ as I think it individually set the collapse state of every sub-comment?
Re:Facebook-owned sites were down by Arubis on Monday October 04, 2021 @10:47PM (#28754962)
The whole thing was put together in a somewhat obscure dialect of Lisp over 15 years ago. There’s probably under 100 people that write Arc regularly enough to meaningfully contribute, so the general approach has been to not fix what’s not broken.
Re:Facebook-owned sites were down by ehsankia on Tuesday October 05, 2021 @03:12AM (#28756361)
This is not a very complex website, any HN reader could probably whip up a replacement from scratch over a weekend.

I guess there does exist many alternative UIs, though I don't see many that support commenting. I wonder if the "API" (if there's any) allows for that, or if people are just scraping the page and reformating it.

Re:Facebook-owned sites were down by eyelidlessness on Monday October 04, 2021 @10:53PM (#28754992)
Not to argue, just to post a contrasting view: while FB, and a lot of the internet, failed or slowed today—and I know there were tons of reports of HN slowing too—I also experienced a phone death and attempted to hobble along by putting my SIM back in my old iPhone 5. Basically the only thing that worked was HN. In fact it loaded as quickly as I’d expect.

There’s plenty of stuff I’d like to be different about usability of this site, but perf is basically at the bottom of that list.

Re:Facebook-owned sites were down by ehsankia on Tuesday October 05, 2021 @03:07AM (#28756331)
Most of the things I listed weren't really perf related, though they do show up when there's perf issues. Being able to "load more comments" and reply inline are super basic usability features. There's no reason why I'd need to navigate to a whole different page with a textbox, then navigate back and lose my position every time I post a comment.
Re:Facebook-owned sites were down by MrStonedOne on Monday October 04, 2021 @04:28PM (#28751661)
One of the first optimizations large/high traffic sites will do, is cache pages for logged out users. even if the cache is only valid for a minute, that's still a huge reduction in server traffic.

The cache is faster because its not having to talk to the database, and can be done at by the load balancing layers rather then the actual application layer.

Wikipedia does this too (although, via a layer to add back on the ip talkpage header).

Re:Facebook-owned sites were down by squeaky-clean on Monday October 04, 2021 @04:54PM (#28751966)
You can also just log out instead of opening a private window. Users that aren't logged in are served cached pages.
Re:Facebook-owned sites were down by quickthrower2 on Monday October 04, 2021 @06:17PM (#28752834)
Could they offer cached pages to logged in users as an optimization? You only need to invalidate when a user posts a comment, most of the time you are reading now commenting?
Re:Facebook-owned sites were down by Ancalagon on Monday October 04, 2021 @05:58PM (#28752600)
This would make for a very good deep-dive technical discussion in an interview setting, I'm using this.
Re:Facebook-owned sites were down by elboru on Monday October 04, 2021 @02:48PM (#28750633)
That explains why it works fine in my computer, where I haven’t logged in. Thanks for the tip.
Re:Facebook-owned sites were down by quaintdev on Monday October 04, 2021 @02:39PM (#28750532)
This works like charm. Thank you!
Re:Facebook-owned sites were down by rocho on Monday October 04, 2021 @12:21PM (#28748907)
I can confirm, HN, GitHub and Slack are very slow for me as well. Google is very fast, on the other hand.
Re:Facebook-owned sites were down by pilsetnieks on Monday October 04, 2021 @01:09PM (#28749546)
All running their DNS on AWS. My guess is that AWS is seeing a massive flood of failed and retried DNS requests for facebook properties, similar to what jgrahamc mentions here for Cloudflare: https://twitter.com/jgrahamc/status/1445066136547217413
Re:Facebook-owned sites were down by throwdecro on Monday October 04, 2021 @01:50PM (#28750089)
Is there a "Kessler syndrome" analogue for the internet, where failures beget failures until it's just an impenetrable cloud of fail, forever?
Re:Facebook-owned sites were down by nashadelic on Monday October 04, 2021 @02:36PM (#28750506)
There's such a thing called the "Thundering Herd" problem, that partially matches.

From wiki: the thundering herd problem occurs when a large number of processes or threads waiting for an event are awoken when that event occurs, but only one process is able to handle the event. When the processes wake up, they will each try to handle the event, but only one will win.

Re:Facebook-owned sites were down by motoboi on Monday October 04, 2021 @01:55PM (#28750132)
Until someone smashes the "SEND MOAR SERVERS" button.
Re:Facebook-owned sites were down by qwertox on Monday October 04, 2021 @03:07PM (#28750741)
I can't see how this is the reason for HN to take 10 seconds for the response of the main page (I mean, the URL fetched from the address bar, not the subrequests the page does), as everything else downloads immediately.

The DNS entries should be cached by the browser (and the middleware), so that this problem should only happen once, but I get this constantly.

Also, I sometimes get an error message from HN, which seems to indicate that this is some backend issue which fails gracefully with a custom "We're having some trouble serving your request. Sorry!" on top of a 502 code.

It feels more like there is something else still broken.

Re:Facebook-owned sites were down by pilsetnieks on Monday October 04, 2021 @03:17PM (#28750861)
In the case of HN it's probably just heavier load than normal. It's much faster if you're logged out.
Re:Facebook-owned sites were down by gcoguiec on Monday October 04, 2021 @01:16PM (#28749657)
Dropping that many BGP routes will have its high latency toll on the whole internet backbone for minutes/hours, I'm not surprised. I wonder if the recent LE's DST Root CA X3 deprecation has something to do with the outage (some DC internal tool/API not accessible because its certificate is expired or something like that).
Re:Facebook-owned sites were down by alexellisuk on Monday October 04, 2021 @12:46PM (#28749224)
Also slow here. I can't see anything on the AWS Service Dashboard https://status.aws.amazon.com
Re:Facebook-owned sites were down by 1_player on Monday October 04, 2021 @02:18PM (#28750358)
In my experience, any service dashboard is useless unless the problem has been going on for so long (i.e. hours) that it is obvious something's wrong.
Re:Facebook-owned sites were down by erhk on Monday October 04, 2021 @02:44PM (#28750585)
AWS punishes its sysadmin teams for any downtime so there is heavy incentive to not report unless there is a community shaped gun pointed at your head. This is not a universal problem.
Re:Facebook-owned sites were down by erhk on Monday October 04, 2021 @02:44PM (#28750582)
AWS punishes its sysadmin teams for any downtime so there is heavy incentive to not report unless there os a community shaped gun pointed at your head. This is not a universal problem.
Re:Facebook-owned sites were down by yk on Monday October 04, 2021 @03:22PM (#28750921)
People either have to work, creating load on GitHub, or waste their time elsewhere, creating load on HN and Slack.
Re:Facebook-owned sites were down by szundi on Monday October 04, 2021 @03:24PM (#28750939)
People probably got more time to work.
Re:Facebook-owned sites were down by ggerules on Monday October 04, 2021 @01:35PM (#28749904)
Also slow for me also.
Re:Facebook-owned sites were down by i_like_apis on Monday October 04, 2021 @12:30PM (#28749036)
Probably traffic related. Lots of people reallocated to checking other sites.
Re:Facebook-owned sites were down by eeegnu on Monday October 04, 2021 @12:22PM (#28748917)
Probably people flooding in to see if anyone knows why things are down. Even Google speed test was down, presumably from too many people testing if it's their internet that's at issue.
Re:Facebook-owned sites were down by deadalus on Monday October 04, 2021 @12:29PM (#28749018)
Re:Facebook-owned sites were down by blntechie on Monday October 04, 2021 @02:17PM (#28750343)
The site is working fine for me. Speedtest CLI also is useful but doubt when DNS is down.
Re:Facebook-owned sites were down by tedmiston on Monday October 04, 2021 @02:34PM (#28750490)
working for me
Re:Facebook-owned sites were down by kzrdude on Monday October 04, 2021 @02:45PM (#28750589)
I'd guess that automatic processes dominate. Maybe billions of phone apps polling for facebook connectivity (FB messenger is down, for example).
Re:Facebook-owned sites were down by rocky1138 on Monday October 04, 2021 @01:00PM (#28749422)
A couple of years ago, an admin at Hacker News asked those of us who are just reading to log out because their system is architected in such a way that logged in users use more resources than anonymous ones. So, if you're feeling altruistic, log out of HN!
Re:Facebook-owned sites were down by busymom0 on Monday October 04, 2021 @01:38PM (#28749947)
Logging out does work! Probably delivering a cache.
Re:Facebook-owned sites were down by foobarbecue on Monday October 04, 2021 @12:45PM (#28749219)
Internet's got a case of the Mondays for sure
Re:Facebook-owned sites were down by busymom0 on Monday October 04, 2021 @01:33PM (#28749886)
Yep. I am the developer of HN client HACK for iOS and Android and a bunch of users emailed me asking if my app was broken. Looks like something bigger is afoot.
Re:Facebook-owned sites were down by alexdumitru on Monday October 04, 2021 @02:51PM (#28750654)
Something's wrong with your app. It's not working at all, while Harmonic works perfectly.
Re:Facebook-owned sites were down by busymom0 on Tuesday October 05, 2021 @02:02AM (#28755951)
Harmonic most likely uses Algolia for the data whereas my app uses the HN website. So Algolia delivers a cache copy from their own servers whereas mine scrapes the HN website itself. Hence the difference. Also logged out pages were working much better than logged in (HN delivers caches copies for logged out users).
Re:Facebook-owned sites were down by gridder on Monday October 04, 2021 @01:52PM (#28750105)
Best HN client app ever. Thanks for the great work!
Re:Facebook-owned sites were down by busymom0 on Tuesday October 05, 2021 @02:00AM (#28755941)
Thank you!
Re:Facebook-owned sites were down by rocho on Monday October 04, 2021 @12:22PM (#28748912)
I can confirm, HN, GitHub and Slack are very slow for me as well. Google is very fast, on the other hand.

EDIT: actually HN failed to post this comment the first time I posted it!

Re:Facebook-owned sites were down by flypaca on Monday October 04, 2021 @12:19PM (#28748876)
Not just you. It is very laggy on my end too.
Re:Facebook-owned sites were down by neom on Monday October 04, 2021 @12:22PM (#28748919)
HN lagging, BBC was also very laggy about 30 minutes ago, and 35 minutes ago our whole company got booted out of their various hangouts simultaneously apart from the people in the states.
Re:Facebook-owned sites were down by 14 on Monday October 04, 2021 @12:31PM (#28749061)
Definitely laggy for me as well. Went to Facebook and couldn’t so come here to check in and the load time made me think oh it must be my wifi is not working with 2 sites not opening then finally HN opened. Then tried to hit reply to your post and again seemed like it wouldn’t load then finally did. So yes laggy usually this is the one site that loads almost instantly.
Re:Facebook-owned sites were down by ourcat on Monday October 04, 2021 @12:32PM (#28749072)
Here too. Just had the "We're having some trouble serving your request. Sorry!" error.
Re:Facebook-owned sites were down by Jyaif on Monday October 04, 2021 @12:20PM (#28748894)
With the Facebook properties down, the rest of the internet will have a significant increase in usage.
Re:Facebook-owned sites were down by dcminter on Monday October 04, 2021 @12:25PM (#28748963)
Plus I don't know about you, but I came to HN just now specifically to check if there was any insight into why it was down! The thundering herd just arrived :)
Re:Facebook-owned sites were down by amelius on Monday October 04, 2021 @02:42PM (#28750565)
Yes, it's slow here as well, and posting this comment failed the first and second time.
Re:Facebook-owned sites were down by comeonseriously on Monday October 04, 2021 @01:14PM (#28749610)
Can confirm. HN, YT, Google, etc are all a bit laggy for me at the moment (eating lunch so I'm trying to entertain myself).
Re:Facebook-owned sites were down by amelius on Monday October 04, 2021 @02:42PM (#28750569)
Yes, it's slow here as well, and posting this comment failed the first and second and third and fourth time.
Re:Facebook-owned sites were down by bradenb on Monday October 04, 2021 @02:46PM (#28750610)
This is either a hilarious accident or genius comedy.
Re:Facebook-owned sites were down by tzs on Monday October 04, 2021 @04:13PM (#28751482)
This is not too rare when HN is being slow and giving those "We're having some trouble serving your request. Sorry!" pages.

If you get one of those on your comment submission you have no way to know if the trouble stopped it from accepting the comment or if it accepted the comment and ran into trouble then trying to display the updated thread.

For some reason I can't even begin to guess at HN does not seem to have protection against multiple submissions of the same form, so if after getting "We're having some trouble serving your request. Sorry!" on your comment submission you hit refresh again to display the page and the form gets resubmitted, you get a duplicate comment.

Re:Facebook-owned sites were down by saagarjha on Tuesday October 05, 2021 @02:20AM (#28756056)
Earlier today when I was getting these I went to go check the page to see if the comment was posted there. More than once it said it failed but I was able to stop myself from trying again because it was actually there.
Re:Facebook-owned sites were down by amelius on Monday October 04, 2021 @02:42PM (#28750567)
Yes, it's slow here as well, and posting this comment failed the first and second and third time.
Re:Facebook-owned sites were down by amelius on Monday October 04, 2021 @02:41PM (#28750561)
Yes, it's slow here as well, and posting this comment failed the first time.
Re:Facebook-owned sites were down by raymondh on Monday October 04, 2021 @12:42PM (#28749182)
It is slow for me too.
Re:Facebook-owned sites were down by Yuioup on Monday October 04, 2021 @12:23PM (#28748938)
Same here. Sounds like another cloudflare-like problem.
Re:Facebook-owned sites were down by jose-cl on Monday October 04, 2021 @02:38PM (#28750528)
yes, me too (I'm in south-america)
Re:Facebook-owned sites were down by Jamie9912 on Monday October 04, 2021 @12:20PM (#28748890)
Yep, struggled to load the homepage and this
Re:Facebook-owned sites were down by donkarma on Monday October 04, 2021 @12:22PM (#28748925)
yeah lagging for me too
Re:Facebook-owned sites were down by cvhashim on Monday October 04, 2021 @12:32PM (#28749073)
Some internet backbone provider is probably down itself.
Re:Facebook-owned sites were down by leafygreene on Monday October 04, 2021 @12:37PM (#28749121)
Or some country has started a war.