News for hackers. Stuff that matters.
Re:This blog runs on my Raspberry Pi by Daviey on Tuesday April 28, 2020 @12:15PM (#23008491)
But 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
Re:This blog runs on my Raspberry Pi by chrisshroba on Tuesday April 28, 2020 @12:54PM (#23008924)
It 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
Re:This blog runs on my Raspberry Pi by jandrese on Tuesday April 28, 2020 @01:03PM (#23009043)
I 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.

Re:This blog runs on my Raspberry Pi by qubex on Tuesday April 28, 2020 @03:16PM (#23010679)
I 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).
Re:This blog runs on my Raspberry Pi by jandrese on Wednesday April 29, 2020 @12:41PM (#23021170)
Even 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.
Re:This blog runs on my Raspberry Pi by qubex on Tuesday April 28, 2020 @12:08PM (#23008406)
Slashdotted in record time.

Somewhere a Raspberry Pi just went nova.

Re:This blog runs on my Raspberry Pi by josefresco on Tuesday April 28, 2020 @12:16PM (#23008497)
Can't wait for the postmortem follow up.
Re:This blog runs on my Raspberry Pi by tutfbhuf on Tuesday April 28, 2020 @12:24PM (#23008588)
This blog ran on my Raspberry Pi
Re:This blog runs on my Raspberry Pi by freebit50 on Tuesday April 28, 2020 @12:03PM (#23008348)
Annnnnd, it's gone.
Re:This blog runs on my Raspberry Pi by rimunroe on Tuesday April 28, 2020 @01:48PM (#23009705)
Early 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/ 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.
Re:This blog runs on my Raspberry Pi by qubex on Tuesday April 28, 2020 @03:18PM (#23010701)
It’s Randall Munroe. :o
Re:This blog runs on my Raspberry Pi by rimunroe on Tuesday April 28, 2020 @03:39PM (#23010928)
Nah, I'm his brother.
Re:This blog runs on my Raspberry Pi by qubex on Tuesday April 28, 2020 @04:28PM (#23011544)
Yeah – I meant “[the brother] is Randall Munroe”.

Hey you’re related to royalty.

Re:This blog runs on my Raspberry Pi by BrandoElFollito on Tuesday April 28, 2020 @12:37PM (#23008729)
A 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.

Re:This blog runs on my Raspberry Pi by kaendfinger on Tuesday April 28, 2020 @12:35PM (#23008712)
> 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...

Re:This blog runs on my Raspberry Pi by hartjer on Tuesday April 28, 2020 @12:07PM (#23008397)
RIP RPi
Re:This blog runs on my Raspberry Pi by lostmsu on Tuesday April 28, 2020 @01:25PM (#23009382)
What 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?

Re:This blog runs on my Raspberry Pi by cdbattags on Tuesday April 28, 2020 @12:01PM (#23008327)
Andddddd, already hugged to death.
Re:This blog runs on my Raspberry Pi by miniman1337 on Tuesday April 28, 2020 @12:13PM (#23008459)
She Gon'
Re:This blog runs on my Raspberry Pi by 2bluesc on Tuesday April 28, 2020 @02:25PM (#23010141)
Seems 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.

Re:This blog runs on my Raspberry Pi by bluedino on Tuesday April 28, 2020 @12:31PM (#23008662)
How does a Pi compared to the lowest end VPS's out there?
Re:This blog runs on my Raspberry Pi by SanchoPanda on Tuesday April 28, 2020 @12:46PM (#23008843)
Ill 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.

Re:This blog runs on my Raspberry Pi by jandrese on Tuesday April 28, 2020 @01:00PM (#23009012)
Lowest 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.

Re:This blog runs on my Raspberry Pi by pdevr on Tuesday April 28, 2020 @12:10PM (#23008431)
Hope this onslaught of traffic didn't fry the Pi.
Re:This blog runs on my Raspberry Pi by elcritch on Tuesday April 28, 2020 @01:02PM (#23009027)
One would almost expect the home internet to die before the RPi, especially if it’s an RPi4.
Re:This blog runs on my Raspberry Pi by jaybeeayyy on Tuesday April 28, 2020 @12:43PM (#23008799)
F
Re:This blog runs on my Raspberry Pi by brianpursley on Tuesday April 28, 2020 @12:24PM (#23008585)
*ran
Re:This blog runs on my Raspberry Pi by dandanio on Tuesday April 28, 2020 @12:26PM (#23008604)
#dontfrythepi
Re:This blog runs on my Raspberry Pi by ankit70 on Tuesday April 28, 2020 @12:43PM (#23008802)
And now it no longer runs!
Re:This blog runs on my Raspberry Pi by jmcnulty on Tuesday April 28, 2020 @12:11PM (#23008443)
ERR_TIMED_OUT oops.