Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Davvero con VPS e 4GB di RAM si tira su un'istanza di Mastodon?

Uncategorized
1 1 6

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    2 Views
    Commitin programming crimes }:->Few weeks ago I seriously looked to the mine OpenHAB installation and asked a question for myself: "Am I really need it?" Look, I have a few ZigBee devices, which are connected to the my server with the help of ZigBee2MQTT. Thusly, all necessary values and knobs are accessible through the MQTT topics.And I'm using the OpenHAB (big Java application which eats ton's of RAM and constantly swapping) just to:1) Read values from MQTT topic2) Read weather forecast from Open-Meteo through simple REST API endpoints3) Store all the data to the PostgreSQL DB.4) Display these data in the nice Web page which works only in browsers with JS engine.So, basically, I trade tons of RAM and processing power just for a nice web-page with few indicators. While retrieving data from my ZigBee devices processed by the another service.After that thought, I started to think about replacing this monster with small hand-written program, which will not eat 700 MB of RAM. Just Nginx, small FastCGI script on C, which will read values from DB and display them on the simple HTML page. And another small daemon (also written in C) which will take data from MQTT topic (and from REST API of Open-Meteo) and will write them to the DB. And possibly some PGSQL procedures to analyze these data.At least I'll have fun #programming #C #smarthome #selfhosting
  • 0 Votes
    7 Posts
    30 Views
    @Micolcosta appoggiarli sulle gambe di qualcuno che non ha problemi di circolazione per scaldarli?(solo se la vittima è consenziente)
  • 0 Votes
    21 Posts
    59 Views
    @vkc thank you Veronica! 💛 Your video was really outstanding - you spoke so eloquently about this important issue. I’m basically sending it to everyone I know.And thank you for the kind offer about Jellyfin. I have already installed it via #YunoHost (which makes self-hosting so easy for us non devs). Now it’s just a matter of adding media to my library (I was away for 2 weeks because of French school holidays, so I’m excited to set it up today).Thank you for all you do and keep up the incredible work! ✨💫
  • 0 Votes
    1 Posts
    14 Views
    Yesterday evening just before going to sleep I installed #pihole on #raspberrypi 5. The process was straight forward and it works like a charm. It neatly blocks advertisements for all devices in my local network. It also blocked #youtube adds to my surprise. I am actually considering donating to support #pihole. https://pi-hole.net#pihole #raspberrypi #SelfHosting #Linux