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?

  • Averrin@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    2 years ago

    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.

    • Saik0@lemmy.saik0.com
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      2 years ago

      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.

      • Averrin@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        2 years ago

        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)

        • Saik0@lemmy.saik0.com
          link
          fedilink
          English
          arrow-up
          6
          ·
          2 years ago

          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.

          • Averrin@lemmy.worldOP
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 years 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.