5 ms·
This blog runs on my Raspberry Pi
- cdbattags 7y agoAndddddd, already hugged to death.
- miniman1337 7y agoShe Gon'
- freebit50 7y agoAnnnnnd, it's gone.
- hartjer 7y agoRIP RPi
- qubex 7y agoSlashdotted in record time. Somewhere a Raspberry Pi just went nova.
- pdevr 7y agoHope this onslaught of traffic didn't fry the Pi.
- jmcnulty 7y agoERR_TIMED_OUT oops.
- Daviey 7y agoBut does it tho? $ curl https://blog.kumarutsavanand.com/expose-local-endpoints-with-inlets-and-google-compute-engine/ > /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 22369 100 22369 0 0 154 0 0:02:25 0:02:25 --:--:-- 5699
- chrisshroba 7y agoIt would be great if the author of this post could respond here with how many requests per second it took to bring down the site... I assume using a RPi is still a viable solution for 99% of the time
- jandrese 7y agoI wonder if he was running a database driven site off of his Pi? It wouldn't take many queries per second to kill off something running on a SD card. A static site would probably be able to saturate the Ethernet before the Pi gave up. Even old Pentiums could saturate Fast Ethernet, although the Pi is penalized because the Ethernet runs off of USB so its extra processor intensive. Edit: is blog is back up. It apparently run on Node, and most of the article is about how you break through multiple layers of NAT via a Google service. Very useful if you are hosting your blog off of your cell service or something, although someone with a regular router on a regular ISP can just port forward and set up dynamic DNS to avoid the headache of a Google service that will be discontinued in a year or two.
- qubex 7y agoI don’t disagree, but I think the PRi 4 no longer suffers from the USB-Ethernet bottleneck (never pushed my 3 and 4 hard enough to notice, to be honest).
- jandrese 7y agoEven if it isn't the bottleneck, running the Ethernet over USB means the CPU has to get involved to do all of the Bus Mastering, which cuts into cycles it could be spending on preparing the packets.
- josefresco 7y agoCan't wait for the postmortem follow up.
- brianpursley 7y ago*ran
- tutfbhuf 7y agoThis blog ran on my Raspberry Pi
- dandanio 7y ago#dontfrythepi
- bluedino 7y agoHow does a Pi compared to the lowest end VPS's out there?
- SanchoPanda 7y agoIll use the cheapest AWS lightsail as the benchmark for a low end VPS, which is 3.50 a month. 512mb of RAM, 1v CPU, 20gb of SSD. Cheapest pi4 is 30$, which gets you 1gb of ram and a quad core ARM v8 at 1.50 ghz. BYO storage, which is not ideal via sd card. In any business purposes comparison, you can push that VPS much much harder then you can the pi. But who cares? the pi is yours, it's right there, and it's awesome to do real computer stuff on it. Or stupid computer stuff, whatever, it's yours, no-one has to know. So much easier too.
- jandrese 7y agoLowest end VPS I know about is $5/month. Which means it costs more than an RPi after 9 months or so (7 months for the RPi, another month for the SD card, and one more month for sundries). Power usage on a RPi is pretty trivial so that probably won't change the equation much. Of course you'll also have to pay for your bandwidth with the RPi solution, but you were doing that anyway. The hosting will have more bandwidth and processing power, but also the possibility of big bills if you get large traffic spikes.
- kaendfinger 7y ago> So the only time my blog will be down is when I'm out of power or if my Internet is down! This didn't turn out to be true. Should have added an extra node...
- BrandoElFollito 7y agoA blog can usually be static and therefore run behind a CDN. Whenever I read "look at my blog", I expect it to be HNpwned. The postmortem followups are quite interesting though if there is a good analysis behind.
- jaybeeayyy 7y agoF
- ankit70 7y agoAnd now it no longer runs!
- elcritch 7y agoOne would almost expect the home internet to die before the RPi, especially if it’s an RPi4.
- lostmsu 7y agoWhat is the purpose of this exercise, when you can host static blog for free on GitHub? Also, was this updated later, or was it always using GCP?
- rimunroe 7y agoEarly on (around 2006) xkcd.com was hosted on our former family computer which my brother left running in his bedroom while he was away at college. One day I was playing Counter-Strike when suddenly my connection got interrupted and wouldn't come back. The cause was https://xkcd.com/10/ https://xkcd.com/10/ being linked to on either Boing Boing or Slashdot (I can't remember the exact details). If I'm remembering this right, the computer it was running on was an old HP desktop, probably purchased around 1998-2000.
- 2bluesc 7y agoSeems like the better approach would be to host the blog on the GCE f1-micro instance instead of using it solely as a proxy / exit node. Or use a CDN and host it without Google Cloud.