Skip to content

Revise the way private network mycelium instances are connected #2443

@LeeSmet

Description

@LeeSmet

It seems that currently, when a private network is created which runs mycelium, a node is set up which connects to the public nodes, and this happens for each mycelium enabled private network. Because private network namespaces are isolated from eachother, the nodes won't be able to connect to one another over a link local interface. As a result, traffic which is local to the node (from one private network to another on the same node) will have to travel to a public node and back. On top of this, creating multiple connections to a public node from the same zos node is rather wasteful for bandwidth and cpu time for both the farmer and the public nodes.

It would be a lot better if the private network mycelium instances simply connect to the mycelium instance running on the zos host. This way, traffic between 2 private networks on the same node can be routed by the host mycelium instance, and only 1 connections is made to public nodes which avoids duplicated protocol messages and thus wasted bandwdith/cpu time

Metadata

Metadata

Labels

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions