Live data from Hacker News

How to waste bandwidth, battery power, and annoy sysadmins

rachelbythebay.com

131–140 of 158 posts

Re: How to waste bandwidth, battery power, and annoy sysadmins

#131
post #29
post #9

Oh hey, I wrote that last issue linked! What crazy Deja vu. Here’s me discovering the issue that led me to find some wild behavior. Basically Firefox loaded favicons 4x the number of tabs opened to that website. It would do this every time I opened or closed any tab. https://aggressivelyparaphrasing.me/2022/12/12/why-does-my-l... It was resolved a while back so maybe it’s similar symptoms but different root cause, or…

Wordpress handles 404s really slowly? I'm kind of surprised it works at all then, as at least in my logs there's a very steady stream of bots probing it for vulnerabilities by trying random URLs.

I managed to get around it with litespeed Cache which does cache 404 pages. I was previously using WP Super Cache which does not. Note I also wasn’t running a CDN so there’s no reverse proxy cache either.

Over time, I found that BetterLinks was slowing down my site significantly (600ms) . It wasn’t like this when I first investigated. It became slow over the course of a year or so. I ended up replacing it with Simple 301 Redirects. I think this is a separate issue though, unrelated to my original overload, but looked very similar to when Firefox DOSed my site.

I experimented with CDNs to cache things reverse proxy style as a catch all. Eventually I caved and enabled Cloudflare CDN because QUIC.cloud kept having problems where a POP node kept hitting 403 Forbidden. I’d say the site is pretty functionally performant now.

I think most sites that claim Wordpress handles high loads really well have at least two layers of caching in front of it and are running on dedicated boxes. Remove both of those and suddenly it’s super easy to DOS.

Another common DOS exploit is to repeatedly spam the Forgot Password form, since there’s a lot of guaranteed processing with that and it’s not cacheable. I hid mine behind a captcha which helps a lot.

Re: How to waste bandwidth, battery power, and annoy sysadmins

#132

I recall seeing some users complain about getting a temp ban on a niche forum when using Firefox for iOS, which was probably caused by this issue.

I occasionally get this from some sites. Sometimes switch to safari or reset Firefox fixes it.

I use Firefox as a quick lookup because the tabs crash often and it hardly ever saves the websites I was on when re-opening. So far I have crashed safari and lost all my tabs once ever. Firefox focus does a pretty good job too for quick lookups.

Re: How to waste bandwidth, battery power, and annoy sysadmins

#133

Earlier quoted context omitted.

Pocket is the worst. It tried to get me to read some article where the author was whinging that her daughter was pretty and people were complementing her as such. https://time.com/6990734/ugly-side-of-pretty-essay/

You clearly did not understand that woman's point.

I don't understand her point. I guess that she's uncomfortable with human aesthetics? Why would being pretty require sacrifices in health and self-respect? One of the largest factors in looking good is being in good shape/physically healthy. Avoiding skin damage from UV is also a big one. Why would you lose self-respect for looking good?

Re: How to waste bandwidth, battery power, and annoy sysadmins

#134
post #92
post #88

Earlier quoted context omitted.

There could just be a difference in hardware. I'm a Firefox user but there is a noticeable difference, just not one that matters much on a top tier soc

Loading JS heavy pages like Twitter on Firefox Android is way slower than Chromium based. Very noticeable on 2019 hardware, less so but still on 2022 hardware.

But is completely Firefox fault? Some companies just test compatibility and optimize with Chrome in mind, forgetting that sometimes some browsers (Firefox as well) dont respect some standards. Or even adding some features only available in some browsers.

Yes, is not as bad as it was in the 90s or 2000s, but is still a common issue

Re: How to waste bandwidth, battery power, and annoy sysadmins

#135
post #122

I thought firefox on ios was just safari with a reskin because apple doesn't allow other browser engines on their phone? Firefox on android is amazing with its plugin support, though I still prefer their pre-2021 UI

iOS requires a browser to use the OS-provided WebKit, but you can still use your own networking layer, and doing your own scripts injection (e.g. for extensions, like what Orion is doing). Firefox for iOS used to use Alamofire as its networking engine, but switched over to NSURLSession/URLSession at some point. Chrome for iOS uses Cronet which was extracted from Chromium's networking stack (or maybe used, I have not…

iOS allows third party browser engines since iOS 17.4 in the EU.

Re: How to waste bandwidth, battery power, and annoy sysadmins

#136
post #102
post #35

Earlier quoted context omitted.

404s have got to be very cheap to serve

Not when you're on a metered connection, or on a high latency one. Don't make your customers pay for your sloppy habits is a good policy to have.

If the CDN returns a 404 or the origin server, then your satellite phone is still waiting.

Re: How to waste bandwidth, battery power, and annoy sysadmins

#137
post #122

Earlier quoted context omitted.

iOS requires a browser to use the OS-provided WebKit, but you can still use your own networking layer, and doing your own scripts injection (e.g. for extensions, like what Orion is doing). Firefox for iOS used to use Alamofire as its networking engine, but switched over to NSURLSession/URLSession at some point. Chrome for iOS uses Cronet which was extracted from Chromium's networking stack (or maybe used, I have not…

iOS allows third party browser engines since iOS 17.4 in the EU.

No one is splitting their codebase for a single market if it doesn't make business sense. For a nonprofit with limited resources, I don't think it would make sense.

Re: How to waste bandwidth, battery power, and annoy sysadmins

#138
post #137

Earlier quoted context omitted.

iOS allows third party browser engines since iOS 17.4 in the EU.

No one is splitting their codebase for a single market if it doesn't make business sense. For a nonprofit with limited resources, I don't think it would make sense.

That is Firefox's decision then, not a restriction by Apple as indicated by GP.

Re: How to waste bandwidth, battery power, and annoy sysadmins

#139
post #137

Earlier quoted context omitted.

No one is splitting their codebase for a single market if it doesn't make business sense. For a nonprofit with limited resources, I don't think it would make sense.

That is Firefox's decision then, not a restriction by Apple as indicated by GP.

Apple doesn't restrict it at all outside the EU too?

Re: How to waste bandwidth, battery power, and annoy sysadmins

#140

I get it, everything adds up and over millions of page-loads there will be a bit of wasted bandwidth. But it seems the original author blew this issue out of proportion with this post. Why even be annoyed by such a minor issue?

The author is a HN favourite. Literally any dogshit by them will get to the top of front page.
Post reply on HN