9 ms·
Facebook with Adblocker makes 2000+ requests
- overcast 9y agoJust a couple requests there. Insanity.
- roryisok 9y agoThe image says 27 requests, not 2000. The tweet has no further info. Where is this 2000+ number coming from?
- amelius 9y agoI don't know the details, but perhaps FB sends more requests when it's blocked?
- falcolas 9y agoI get that a lot of those are retries... but hasn't anyone there heard of backoff? (intentionally fallaciously generalized)
- aerovistae 9y agoWhat?
- kevindqc 9y agoMake a request. It it fails, try in 1 sec. It it fails, try again in 2sec. If it fails, try again in 4 sec. etc. That's exponential backoff. You can also randomize the delay a bit so that if the problem is on your end (so everyone started failing at the same time), you don't get ALL clients retrying at the exact same times. This is better than trying immediately when it fails or after a set delay. If it hasn't been working in the last 10 tries, why would you expect the 11th request to work. Just wasting resources. https://en.wikipedia.org/wiki/Exponential_backoff https://en.wikipedia.org/wiki/Exponential_backoff
- andreasklinger 9y agoto be fair the adblock broke their frontend app
- the8472 9y agonetworks are not reliable, so adblockers should not be considered any different than partial network failures. which means backoff is needed anyway
- ktta 9y agoI knew I saw him somewhere before. http://mailchi.mp/mit/how-ocw-transformed-a-learners-life http://mailchi.mp/mit/how-ocw-transformed-a-learners-life Discussion: https://news.ycombinator.com/item?id=14514686 https://news.ycombinator.com/item?id=14514686
- cr3ative 9y agoLooks like scribe_endpoint.php is an error logger for Facebook. I mean, if you block random bits of JS from it, it'll try to report that back up. Although, yes, backoff, come on now.
- newman8r 9y agoI keep thinking the state of being offline ~90% of the time is the way to go - my current choice in tech projects is strongly guided by this belief. rss feeds are a great quality:size ratio, I have a huge list of primary sources, will export and paste it here if anyone wants - and always appreciate any good recommendations. The best way I've found to win the ad blocking game is to get the rss feed when possible.
- graysonk 9y agoI used to think that RMS was crazy for essentially wgeting every site he wanted to browse locally, but now it is making a lot of sense. Also, could you share your list? I always love finding new sites.
- Mikushi 9y ago> I have a huge list of primary sources, will export and paste it here if anyone wants Definitely interested. Been thinking about making the shift but not sure where/with what to start.
- deleted 9y ago[deleted]
- newman8r 9y agoI think finding an RSS reader with a UX that fits your needs is a good way to go. I don't like browser based readers. I am currently using the liferea package and it's not bad. I just posted some of the feeds I follow. I've been meaning to start a repo for a list like this for a while, will post another reply when I get something running.
- type0 9y agoNot sure if it was something with my system but for me Liferea was glacially slow, tried it a couple of times and then gave up.
- dannysu 9y ago
- pmlnr 9y agoIf you have to use FB, just stick to https://mbasic.facebook.com https://mbasic.facebook.com - JS free version. Fast, ugly, works. BTW the error is not present with FF + uBlock Origin. EDIT: there is a less know FB app, called Facebook Lite. When you try to install it, you'll get a "This app is incompatible with all of your devices." - which is not true. It's fully compatible, you're just not in the eligible geolication. To get it: http://www.apkmirror.com/apk/facebook-2/lite/lite-53-0-0-3-91-release/ http://www.apkmirror.com/apk/facebook-2/lite/lite-53-0-0-3-9... It's an alternative, tiny app, without the bloat of the "true" FB app, aimed at developing countries where smartphones are much less powerful.
- digi_owl 9y agoI must say that i find it highly ironic that the likes of Facebook and Google have in recent years been introducing lite sites and apps for the third world. Site and apps that in the process rip out most of what the rest of us want to see gone as well.
- deleted 9y ago[deleted]
- djKianoosh 9y agothis is really great. never knew this existed, thanks for sharing. no frills, quick page load on mobile, just right.
- pmlnr 9y agoAnd messages still work, unlike on the m. version.
- saganus 9y agoThis is really nice!
- yegle 9y agoGreat! I used m.facebook.com before but it doesn't support chat.
- maaaats 9y agoI've made a similar bug before. Had an animation that moved a div around on our page for some seconds. Some adblocker decided to remove that div. The script then failed to grab that div for the reminder of the animation, 60 times a second. Since we logged all errors to backend, this resulted in hundreds of ajax calls, making the affected browsers kneel. Backoff/rate limiting/setting an upper limit, and handling the missing div were solutions.
- gorhill 9y ago> Some adblocker decided to remove that div. The script then failed to grab that div for the reminder of the animation. Blockers do not remove DOM elements, they just apply a `display: none;` style property to them.
- maaaats 9y agoI may misremember the details, but the gist of it is that the blocker broke some invariant, so a state which should not be possible during the animation did occur and broke stuff hard :)
- thefifthsetpin 9y ago"Some adblocker" might not be one of the blockers that you are familiar with.
- gorhill 9y agoYes, I was assuming a known blocker. I know none that removes DOM elements.
- efraim 9y agogorhill created and maintains uBlock so he is probably familiar with how adblockers work.
- JCharante 9y agoThat might be true, but I'd expect the creator of uBlock Origin to be familiar with a fair amount of ad & wide-spectrum blockers and how they function (to see if there's any methods they can adopt to improve).
- dabber 9y agoYouTube will do the same thing with Ublock Origin. I've had a tab open for a few hours and have blocked 625 requests and counting.
- lousken 9y agoOne would thought there's already enough reasons to stay out of facebook, but there's another one.
- manigandham 9y agoWhy is this such a big deal? You're using an adblocker which interferes with the site. The requests are blocked immediately and don't hit the network so its not wasting any resources. Is there really a complaint about requests being made in the first place now?
- deleted 9y ago[deleted]
- yvesmh 9y agoPerhaps it's not wasting any network resources but it's definitely consuming battery and processing power to keep retrying those requests.
- mambodog 9y agowhen you haphazardly cut out chunks of an application it doesn't work correctly? colour me surprised
- stupidcar 9y agoIt infuriates me when I see people complaining about how slow they think JS/HTML/CSS is as a developer platform, or how terrible it is to use a JS framework, when the real cause of slowdown for 99.9% of the web is garbage like this. Modern web browsers can preload resources and compile and run JS incredibly quickly. But even the best optimization efforts fail when sites are loading thousands of scripts from hundreds of different domains. And yet still I see developer advocates from Google on Twitter trying to shame people for using React, blaming them for the web's failure to dislodge native apps. It's utter bullshit.
- 5trokerac3 9y agoNow you know how Flash developers felt when everyone was saying it was a buggy platform, because so much of the dev community never did active debugging. I ran the debugger version of the player and would get error alerts all over the web - for things that should have been caught with a try/catch or basic variable checking - even on some of the most prominent web apps of the time. 99 out of 100 times, that was the reason for an app crashing, not the player itself.
- AndyMcConachie 9y agoIt's the old 'blame the dev not the compiler' quip. When I was in undergrad learning to code, before web browsers, if students blamed the compiler for their errors the profs just didn't care. If the compiler crashed the OS while compiling it was still the student's problem to figure it out. Now you frequently hear intelligent devs complaining about how FF is slow compared to Chrome when loading website X. And here I am simply amazed that web browsers don't just crash constantly from the reams of dumpster trash they're forced to injest. It's developers that have turned the web into a stinking pile of bloated code, but yet we continue to blame the interpreters(i.e. browsers).
- suyash 9y agoWebsite making 2000 HTTP Requests is beyond ridiculous, doesn't matter if it is Facebook. Looks like they have architected it very poorly.