7
submitted 1 year ago by sam_uk to c/selfhosting

Just an idea. Anyone interested in buying some solar hardware to play with?

top 5 comments
sorted by: hot top controversial new old
[-] poVoq 5 points 1 year ago* (last edited 1 year ago)

This is actually on my longer term plans. I already have some hardware for running my servers on solar power, but its a bit more complicated to get everything set up and the grid power I am currently using is mostly wind and geothermal anyway (as in... literally because those power plants are very near).

Distributing file storage could be already done via a newer version on Pictrs and Garage but currently the Pictrs instance is proxied by the Lemmy backend, so you can't fully utilize the potential of a distributed file storage backend by serving images directly to users from it (CDN like).

However, figuring out a way to distribute the main PostgreSQL database might be more complicated (there is CockroachDB, but the licensing terms are not FOSS...).

Other than that, you really just need some sort of script to link login to the solar protocol and it should work.

[-] sam_uk 1 points 1 year ago

Might be a fun project to work on. I wonder if we could convince some grant funder to give us money?

Would this approach help with the database replication? https://hevodata.com/learn/postgresql-sync-replication/#Method2

[-] poVoq 2 points 1 year ago

I think that is only for synchronizing read-only instances off a main centralized one that is being written on. That can help with scaling, but having a central point of failure that needs to be available 24/7 would be kind off the opposite of the idea of the solar protocol.

[-] sam_uk 1 points 1 year ago
[-] poVoq 2 points 1 year ago

Yeah, maybe. I didn't know this project before and would need to look into the details a bit more. Bookmarked ;)

this post was submitted on 06 Jun 2023
7 points (100.0% liked)

Self-hosting

2532 readers
1 users here now

Hosting your own services. Preferably at home and on low-power or shared hardware.

Also check out:

founded 2 years ago
MODERATORS