@siguza it me I was complaining
But in my defense my entire homepage is 64KB on the wire :)
Top-level
@siguza it me I was complaining But in my defense my entire homepage is 64KB on the wire :) 6 comments
@siguza Oh yeah 100%. A Raspberry Pi running my website off a *Viasat residential connection* would've had enough CPU and upload bandwidth to handle this. π If normal (i.e. not used as an amplification vector) Mastodon link previews can knock over your site, imagine what a motivated kid with Discord, their first bootable Kali USB, and a dream could do... I don't agree with Eugen's philosophy of why link previews need to be generated the way they are but it's the least of many, many evils! @siguza @tweedge I think it's more that there's a bunch of incoming requests all at like the exact same time, as soon as the toot goes out, not the size of anything. Modern web sites are big babies and can't deal with that kind of pressure. Maybe each request needs a process and each process needs a V8 and then each V8 needs a database connection and @tweedge @siguza I was also complaining that it does the same on my website, which serves up just 1.79 MB over 11 requests and no external requests. Sure, my hosting package is a bit shit - it's enough to work 99.9% of the time - but apparently not when generating a link preview from Mastodon. Still, perfectly valid points made about the It's FOSS page being full of crap. π @tweedge @siguza NoScript: 743 KB (849 KB uncompressed). Without NoScript: yes, a few minutes with *no interaction* and it's above 30 MB (compressed, gets above 100 MB uncompressed). What the... I'm actually surprised they don't get DDoSed by people reading their site in javascript-enabled browsers. But, given this excellent website quality, maybe they just don't have enough readers for that to be a problem? |
@tweedge okay, your website is fine then. π
I still think a couple hundred MB within 5 minutes should be doable even for the lowest-spec servers, but clearly they're using this in an attempt to argue how this represents an unreasonable load on an enterprise-grade website behind Cloudflare CDN, so... y'know.