Show HN: Weekend project - Powerful Webserver on Tiny Hardware
blog.freshte.ch
blog.freshte.ch
[strike]I'm interested where to get a cubieboard2 for $50 since it is sold for $59 by the manufacturer.[/strike] No source of cheap cubieboards. :(
When I said "about $50" I did mean about $50 - I'm from Aus and my friend got it for me (+shipping) for over $70AUD - I don't keep track of money that exactly.
They do, but when you rent a VPS you're essentially getting to use that hardware in timeslices (and you only get a part of the RAM). Depending on provider, the percentage of time your VM is active (and so it gets to use these resources) is either enforced by the hypervisor, is a result of fair scheduling between clients sharing the hardware, or a combination of both.
I don't have Cortex-A7 hardware to benchmark and compare the CPU speed with VPSes, but I think it should be close to lower end offerings. 1 GB of RAM is usually not even the lowest offering, e.g. DigitalOcean[0], prgmr[1].
[0] https://www.digitalocean.com/pricing [1] http://prgmr.com/xen/
Not always - for example I have one VPS with 64mb of ram, on a shared 1gbit line, and one with 128mb of ram on a shared 100mbit line.
I use them for TT-RSS (nginx + php-apc + php-fpm + postgresql), a self-hosted image uploader (nginx + php-fpm), ZNC and an Irc Bot.
You'd be surprised by how few resources nginx (and similiar, like lighttpd) uses.
For anyone interested, there are several[1] provider that provide free or cheap raspberry pi colocation. I'm almost sure that they wouldn't have a problem colocating a cubieboard (or similiar) if you shot them an email.
Regarding performance, I'm sure a raspberry (which is less powerful thana cubieboard) is more than enough to serve static pages, and even dynamic pages if your site doesn't get a lot of hits.
[1] http://raspberrycolocation.com/, http://www.micron21.com/raspberrypi-colocation.php, http://www.edis.at/en/server/colocation/austria/raspberrypi/, https://www.google.com/search?q=raspberry+pi+colocating
Yeah I'm hosting it from a home connection, and it's hosting dynamic content - even though it could just be made static I wanted to test it - using php and hitting redis - looks like it works pretty well!
cd src/
./all.bash # takes maybe 2 min on my laptop, dunno on a small board
Then set your $GOPATH and add `bin/` to your path. Then scrap PHP. Then scrap nginx. Then just use Go.