Live data from Hacker News

This blog runs on my Raspberry Pi

blog.kumarutsavanand.com

21–30 of 31 posts

Re: This blog runs on my Raspberry Pi

#21

How does a Pi compared to the lowest end VPS's out there?

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

#23
post #9

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

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

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

#25
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

#27

Earlier quoted context omitted.

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

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 apparent…

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

#28

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’s Randall Munroe. :o

Re: This blog runs on my Raspberry Pi

#29
post #28

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’s Randall Munroe. :o

Nah, I'm his brother.
Post reply on HN