5 ms·
> This site is hosted on a Raspberry Pi 4B in the author's living room (behind the couch). Holding up quite well despite HN frontpage. I love what a bit of cac
by qeternity 5y ago
> This site is hosted on a Raspberry Pi 4B in the author's living room (behind the couch).
Holding up quite well despite HN frontpage. I love what a bit of caching can do.
EDIT: appears I jinxed it. I get the allure of hosting something in your home, but these days when you can get a decent VPS for $10/yr it doesn’t really make sense.
- Waterluvian 5y agoUnfortunately this looks like a mistake for this context given it isn’t loading now. Otherwise, for a well-known average traffic load suitable to a Pi, a Pi is a great idea.
- mandis 5y agoIndeed, I would love to get more details on what all went into it, and how far can we stretch such a SBC. EDIT: evidently, not far
- a012 5y agoUnless they host their images themselves, but a Pi could handle traffic very well for a static website.
- lol768 5y agoGiven it's timing out for me, I'm not sure I'd agree it's holding up quite well :P
- denton-scratch 5y agoThecrow.uk is timing out for me; but not the DfT site.
- tazjin 5y agoHN traffic isn't that large, maybe a few requests per second.
- jacquesm 5y agoYou're a decade behind the times. HN can be formidable in the amount of traffic it generates, it all depends on the content and the time of day though.
- WithinReason 5y agoSpoke too soon!
- baobabKoodaa 5y ago> I get the allure of hosting something in your home, but these days when you can get a decent VPS for $10/yr it doesn’t really make sense When you're hosting static content (like presumably this content is; it's down so I can't say for sure), you should distribute it on a CDN for $0/year. A single VPS can be overwhelmed by traffic just as your Raspberry Pi can.
- qeternity 5y agoProperly cached, a single core on a low end VPS should be able to carry some serious weight. But yeah, I agree. This is static content, and should be hosted on any of the gazillion free tier CDNs. But then you don’t get that warm fuzzy feeling of watching the rPi behind your couch melt into the floor.
- Iolaum 5y agoWhy doesn't it make sense? After 6 months your Rpi4 will be costing less than the VPS. Plus you get the fun of actually doing it. P.S. Getting weird RPi errors because of power supply makes you appreciate the value proposition of a good VPS :p
- killingtime74 5y agoOnly if power is free
- notatoad 5y agoand bandwidth. and physical space, and the ability to stay isolated from physical conditions like floods (natural or plumbing-related) or power outages caused by somebody trying to plug in a kettle. running a commercial VPS in a datacenter has a ton of advantages, but i'm guessing that the guy with a footer like this doesn't really care about them. running your website off a raspi in your living room is cool, wheher it's the most practical solution or not doesn't really matter.
- lvturner 5y ago
- Sephiroth87 5y agoSorry for the ot, but do you have any recommendation for $10 vps?
- hvgk 5y agoI’m using a Linode $5 running nginx for static here.
- iso1631 5y ago$5 a year?
- qeternity 5y ago$5/mo - but there are plenty of decent VPS for $5/yr - the catch is they will be IPv6 only for port 80 so you chuck it behind Cloudflare (carrying static load as well). The low end world will shock anyone who has only ever seen AWS pricing.
- iso1631 5y agoQuite, and the $40-60 a year bracket for a VPS is quite normal, but the original message was "decent VPS for $10/yr". Linode certainly doesn't go that low - at least last time I checked. I saw an VPS from Italy I think for in the region of $20/year some time back, Sephiroth87 was after a $10/year VPS recommendation, not a $60/year one that hvgk suggested.
- pydry 5y agoLook on lowendbox
- deleted 5y ago[deleted]
- konart 5y agoYou can get Oracle Cloud Free for ... free.