this post was submitted on 12 Jun 2023
139 points (91.6% liked)

Selfhosted

38768 readers
369 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 1 year ago
MODERATORS
 

Correct me if I'm wrong. I read ActivityPub standards and dug a little into lemmy sources to understand how federation works. And I'm a bit disappointed. Every server just has a cache and the ability to fetch something from another known server. So if you start your own instance, there is no profit for the whole network until you have a significant piece of auditory (e.g. private instances or servers with no users). Are there any "balancers" to utilize these empty instances? Should we promote (or create in the first place) a way how to passively help lemmy with such fast growth?

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

Sounds like you would prefer a peer2peer approach instead of federation? A few years ago, I wrote up why I don’t belief in p2p. In short: It’s too costly and too complex.

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

I think a amall hit of p2p can be useful. Maybe as an addition layer. I worked a lot with tendermint nodes (cryptocurrency) and i saw pretty effective solutions.

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

I worked a lot with tendermint nodes (cryptocurrency)

If you worked with crypto, I think you would understand that ALL crypto is federated, not P2P. You need full nodes to communicate with in order to validate transactions. This is fundamentally federation, anyone can spin up their own full node and participate however they want.

Same is happening here with ActivityPub instead of block chain transactions.

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

I know what you mean, but all nodes are equal, they are fully participating (stay aside validators). I mean every every node handles every transaction and can be faster than another (it doesn't matter due to validation scheme, but technically speaking all nodes handling every user action)

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

You clearly don't know what I mean. While the each node is storing the same block chain... not every node is handling the same amount of traffic. Nodes can choose which nodes to peer with. I, for example, have a full node that only accepts traffic from a handful of trusted nodes and from my self-hosted btcpay instance.

Users can choose what nodes they wish to validate their wallets to. Many companies and exchanges only validate against their own full nodes. This is not equal. There is no sense of "equal" here. Aside from eventually the "correct" block chain is eventually agreed upon by the majority of the network.

This is exactly the same in this case... lemmy instances that want to peer, will peer. The activitypub standard will broadcast updates just like a block solve notification to the blockchain network. It's up to each node/peer what they do with it.

[–] [email protected] 4 points 1 year ago

Ok, you are right about peering, I tried to get more peers to be faster, but it isn't necessary. I didn't find anything about ActivityPub broadcasting, but if it's true... so, yeah, having rpc p2p connection doesn't make the whole system less federated. But still, usually crypto clients has lists of nodes (or api balancers) for faster handling.