5 ms·
If the content you write has inherent value, why not host it yourself? Because of the risk. A 100MB video file that "goes viral" and gets 5,000,000 downloads i
by onion2k 10y ago
If the content you write has inherent value, why not host it yourself?
Because of the risk. A 100MB video file that "goes viral" and gets 5,000,000 downloads in a month would cost approximately $30,000 hosted on S3 (calculated using https://calculator.s3.amazonaws.com/index.html https://calculator.s3.amazonaws.com/index.html). I can't afford that. Obviously I could take the content offline if it suddenly blew up, but instead if I put it on Youtube it would cost me nothing (less in fact; they would pay me.)
- loup-vaillant 10y agoGet rid of HTTP, then. The web doesn't scale, and that makes it the great centralizer. If publishing ran on peer-to-peer protocols from the beginning popularity would never be an issue. There is this slight problem about asymmetric bandwidth and ISP-wide NAT, though…
- TeMPOraL 10y agoWould be great. I've been toying around with IPFS lately, but I still haven't figured out how me getting the repo leads to me joining a global network of peers, with data travelling seamlessly between us. I want the latter, just don't know if it's even supported now.
- atrus 10y agoUnless I'm misunderstanding what you mean, the easiest way would be to just add the browser plugins. Then you can use ipfs just like the 'normal' web.
- TeMPOraL 10y agoWhat I mean is this: IPFS is meant to enable a p2p data network (web and beyond). How do I become a part of such network after I download IPFS from the project page? I haven't figured this out yet.
- irth 10y agoWell you have to install it. It has a daemon that keeps running, and it "seeds" the content that it has in cache AFAIR. https://ipfs.io/docs/getting-started/ https://ipfs.io/docs/getting-started/
- pdimitar 10y agoIPFS serves things on demand. I wanted IPFS to be something like Freenet -- you publish content and the network makes sure to replicate it at least 3 times, automatically -- but IPFS doesn't work that way. There are some free pinning services (pinning = inform a bot that you would like your content replicated, and then it takes care of it), including at #ipfs on irc.freenode.net, but the network itself doesn't come with such functionality and after I filled an issue on GitHub, it turns out the authors don't think IPFS should do that. Looks to be out of scope for them. Outside of that, `ipfs add ...` publishes your content's hashes so everybody who knows the hashes can fetch the content from you. (You also have `ipfs name publish ...` for publishing a website hash to IPNS, which can later be resolved via `ipfs name resolve <peerID>`)
- diggan 10y agoIPFS does not work like that, true. However, Filecoin might fit what you want. It will kind of work like a pinning service where you can exchange pinning content on nodes for filecoins. It'll work together with IPFS. http://filecoin.io/ http://filecoin.io/
- pdimitar 10y agoIn my eyes it's a good start. But I am afraid the incentive will bring in malicious actors with time. :( I'd much prefer something like Freenet's automatic replication model. Luckily IPFS allows it, through its own facilities for extensibility -- if we have the will and resources to invest in that functionality.
- onion2k 10y agoThat's true, and in the case of video there is an option in the form of Peer5, but you're still going to have a bill to pay if your content becomes very popular very suddenly.
- loup-vaillant 10y agoPersonally, I don't. I pay for maximum bandwidth, and if there's a spike it will just throttle. This has its own set of problems of course but at least I don't get surprised by the bill. They do have "flexible" schemes where the bandwidth can increase as demands grow (of course, you pay accordingly), but that's not the default. (I'm hosted by https://www.gandi.net/ https://www.gandi.net/)
- StavrosK 10y agoSure, it's harder for bandwidth-heavy protocols, but it's much easier for text. There are even providers who will host that for free (my current favorite is Netlify.com).
- TeMPOraL 10y agoFor websites, at least, this can be partially worked around if you stop doing stupid shit. Just don't put 1MB of JS and a 10MB hero image over an article if all you want is to deliver text communicating a message. Maybe at 29 I'm an old curmudgeon now, but right now I'm building a new website + blog for myself, with a simple, typographic layout, 100% static HTML, and as little CSS and JS as I can get away with. Right now a full article (no images) is about 28KB transferred, including a 11KB CSS framework I'll probably cut in half before even minifying it. The assumption now is that >50KB for a page (excluding images) means I've failed.
- theandrewbailey 10y ago> For websites, at least, this can be partially worked around if you stop doing stupid shit. Just don't put 1MB of JS and a 10MB hero image over an article if all you want is to deliver text communicating a message. Stupid shit... like hosting a video on S3, or really any static website asset on S3.
- llccbb 10y agoThere is lots of discussion about hosting static assets like images or videos, where that _asset/media is the content_. I am wondering what the best self-hosting solution is for these cases. Let's say I am a photographer and I want to create or share some image galleries. Each image is big, about 10 MB and there may be hundreds of these images (less than 1000). They have a very permissible license, and I want them downloaded and used as wallpapers, for instance. I want the webpage traffic on my site (over flickr) because I want to drum up business and recognition for myself, but I don't want to risk my site going down under hug of death situations. Low cost solutions are ideal because this is a side project. Is it best to host the main site on a single server (DO droplet) and kick the heavy lifting of image transfer to someone like imgur? What is the cheap and robust solution to this sort of problem?
- adrianN 10y agoIn general I agree, but you can't do much when you really want to host a video or an image gallery. Those things are big, nothing you can do about it.
- kuschku 10y agoAnd it would cost you less than $5000 at any normal hoster that has reasonable prices. Less if you buy traffic directly.
- adrianN 10y agoWhich hoster provides bandwidth for 50 bucks / terabyte?
- bitJericho 10y agoPrgmr can get you to a Tb for something like 10/mo.
- Amezarak 10y agoI used to hit ~1TB/month fairly regularly on my Dreamhost shared hosting, for which I pay $120 a year.
- gog 10y agohttps://www.digitalocean.com/help/policy/ https://www.digitalocean.com/help/policy/ 0.02$/GB which comes out to 20$ per TB and the first TB is included in the price.
- kijin 10y ago100MB video with 5 million views is 500TB. If 500TB costs $5000, it's $10/TB, not $50/TB. As long as you stay away from well-known IaaS platforms, there are plenty of places where you can get bandwidth for less than $10/TB. Lowest I've seen is $1/TB. Having actually used a few hundred TB with them, it's a bit slower but not that bad.
- bluedino 10y agoA low-end dedicated server can cost you as little as $30-40/month and you'll get 5-10TB of bandwidth
- optimuspaul 10y agoI think you are missing part of the cost. It's not just the bandwidth that would need to scale to support that much traffic.
- z3t4 10y agopaywall it and you would become a millionare over night.