this post was submitted on 11 Jun 2023
21 points (100.0% liked)

Selfhosted

40441 readers
811 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hey all. Not sure if this is the right place to post this, please point me in the right direction if not:

So I only came here because of the exodus from reddit, but I'm pumped to see this community and all this technology people have been making. It's like a return to the old-school, user-operated internet instead of the big awful silos that have been dominating the landscape since the early 2000s. I'm in.

So quick question, are there plans or projects in the works for distributed hosting (making it easier for the users to take up the load of storing and hosting content so the instance operators aren't stuck with the hosting costs)?

I ask because I'd like to work on a project to implement this, as I feel it'd be a massive further step forward. I'm not sure though if there's anything existing I should be trying to get up to speed on or if I should be thinking in terms of starting my own project if I want to be working on it.

you are viewing a single comment's thread
view the rest of the comments
[–] mo_ztt 3 points 1 year ago (1 children)

Yah, I'm asking because I have a specific (handwave-y) solution in mind using, among other things, IPFS. I'm not too much up to speed on Lemmy's internals so my solution probably needs big adjustment before it'd be realistic. I planned to make a separate post where I talk at more length on why I think this is needed and some of the ideas I had about solutions; this post was just to get some idea of how the community looks at the issue.

[–] [email protected] 3 points 1 year ago (2 children)

I've had similar musings as yours I think. I think the way to make a decentralized community as user friendly as a centralized one would be making the decentralization transparent somehow. One way would require a way for hosters to volunteer computing resources in a way that's more like adding cattle to a herd rather than pets to a family like in fediverse/matrix/email. More ephemeral and happening in the background. I think the downside is that this is getting closer to peer-to-peer which has a lot of overhead and scaling issues (factorial growth). Federation lies between p2p and client-server but maybe there is room to push it closer to p2p to unlock transparent distribution of resources.

[–] DannySpud 2 points 1 year ago (1 children)

I completely agree with you. I've only just started using this Fediverse stuff but my immediate impression has been this is cool but most of this needs to be invisible to end users.

In particular I think things need to be set up to treat instances as potentially temporary. Right now you're placing a lot of trust in just some random person if you want to try and build up a community. For any number of reasons they could pull the rug out from under you at any point and if that happens your account is gone and (as far as I can tell at least) your content is frozen at the last snapshot it sent. Accounts need to be global or at least mirrored to other instances you interact with. And instances should be able to keep adding posts and comments to that snapshot and sharing the updates to other instances so it's like it never went down (I don't think this happens now).

[–] mo_ztt 1 points 1 year ago* (last edited 1 year ago)

Hm, yah, this a really good point.

So, I thought through what would be a good way to move forward what I talked about and came up with this. Originally I was thinking in terms of trying to have a world-shared data store, so that something like what you're envisioning would be trivial (if your instance goes down, all your data is still there in the shared data store, so you just use your same user and all your stuff on a different instance transparently), but then I scaled it way way back from that plan in order to make it doable.

And actually, depending on how things are structured, it might be possible to do something like what you're talking about with my approach. If you read my proposal, I'm talking about having data stored on what I call "peers", and you'd definitely need to have your peer configured so that all your user's data is mirrored there permanently. I think that that means it might be possible, if your instance went down or you wanted to move to a new one, to grab your user data from your peer and move it to a whole new instance and have it work there in the same way. Same for a community, by the moderators of that community. Maybe. It's too far ahead of what I understand about Lemmy and what I've fleshed out about how the system works for me to say anything about it for sure though.

[–] mo_ztt 1 points 1 year ago

Yep, I 100% agree. Here's my write-up of more of the details of my proposed solution. I'm planning to start work on it this week; if you have feedback or want to help, I'd welcome it.