Hobbying with the hub on a pi
I took some time to play around, for a long time i always wanted to try if i can get a gel 0.2 installation working on a raspberry pi.
If you don't know what a raspberry pi is, its essentially a very low powered computer with the size of a creditcard that runs somewhat the same components as a phone.
Not only did i manage to install the entire hub on it, i also ran it in a invisible iframe for a couple hours to see if it could handle the traffic of the live site. It passed with flying colors, only pulling 25% CPU with 330 active connections. The hub runs 3.6 mil visits per month www.similarweb.com/website/hypnohub.net/#overview running right below the top 10k sites globally and 275 in adult category.
even ffmpeg is configured on it, so it should even be able to convert video uploads but obviously that's stretching how far it can go (and i disabled uploads because its unmoderated). When i mentioned how much faster this software is, i wasn't exaggerating. To be able to serve a site with millions of people on a creditcard ARM PC that runs less then 10W of power is absolutely insane.
The site runs @ EDIT: took-it-down with a clone of DB from 2 days ago. Images are loaded from main site because its hosted from a home connection and the USB stick it uses as storage doesn't have enough space. But serving static files doesn't really cost anything so it could easily handle file serving if it had a larger disk and network.
Obviously we're not going to move to actually run on a PI but its a proof of concept what is possible. It might be interesting to run these kind of imageboards at home for private use. Doing this project increased my experiences in running ARM servers
Will keep it up for a week for the memes before pulling it, feel free to try to crash it or something but don't ddos it plz ;)
Specs:
Raspberry PI 4B 4GB Model (Overclocked to 2Ghz) with passive cooling heatsink.
256GB SanDisk Extreme Pro USB stick.
OS: Almalinux 8.5 ARM (5.10.78-v8.1.el8 aarch64 GNU/Linux)
If you don't know what a raspberry pi is, its essentially a very low powered computer with the size of a creditcard that runs somewhat the same components as a phone.
Not only did i manage to install the entire hub on it, i also ran it in a invisible iframe for a couple hours to see if it could handle the traffic of the live site. It passed with flying colors, only pulling 25% CPU with 330 active connections. The hub runs 3.6 mil visits per month www.similarweb.com/website/hypnohub.net/#overview running right below the top 10k sites globally and 275 in adult category.
even ffmpeg is configured on it, so it should even be able to convert video uploads but obviously that's stretching how far it can go (and i disabled uploads because its unmoderated). When i mentioned how much faster this software is, i wasn't exaggerating. To be able to serve a site with millions of people on a creditcard ARM PC that runs less then 10W of power is absolutely insane.
The site runs @ EDIT: took-it-down with a clone of DB from 2 days ago. Images are loaded from main site because its hosted from a home connection and the USB stick it uses as storage doesn't have enough space. But serving static files doesn't really cost anything so it could easily handle file serving if it had a larger disk and network.
Obviously we're not going to move to actually run on a PI but its a proof of concept what is possible. It might be interesting to run these kind of imageboards at home for private use. Doing this project increased my experiences in running ARM servers
Will keep it up for a week for the memes before pulling it, feel free to try to crash it or something but don't ddos it plz ;)
Specs:
Raspberry PI 4B 4GB Model (Overclocked to 2Ghz) with passive cooling heatsink.
256GB SanDisk Extreme Pro USB stick.
OS: Almalinux 8.5 ARM (5.10.78-v8.1.el8 aarch64 GNU/Linux)