You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.
If the number of connections is below this, then start asking for introductions to FoaFs, until a connection has been attempted with every node in the network.
If the number of connections is too far above this, then end connections, using this heuristic:
Never disconnect unless another route to the node can be found.
Prefer to sever connections with nodes that have a lot of friends, rather than those that have fewer.
Prefer to sever connections with nodes that are more recently connected, rather than those that are older.
Prefer to sever connections with nodes that have a longer response-time, rather than those that are faster.
The text was updated successfully, but these errors were encountered:
Central "hub" nodes are actually a benefit. The target connection count should be per-node, not per-network. One could imagine multiple different nodes with public IPs that can talk to other nodes behind a firewall on a private network. This is not so different from speaking dnode over socket.io to web browsers -- they are effectively nodes on a private IP that connect to a hub.
It would be good to have some role-based stuff, so that a hub could be designated, and have a bunch of workers that spend their cycles doing stuff rather than just being chatty.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Set the target connection count on a sodn.
If the number of connections is below this, then start asking for introductions to FoaFs, until a connection has been attempted with every node in the network.
If the number of connections is too far above this, then end connections, using this heuristic:
The text was updated successfully, but these errors were encountered: