-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection Closing #45
Comments
We'll want something like this. take this with a grain of salt:
When active:
|
Sounds good to me on first sight
but this I'd invert, protocols don't need to be aware of the swarm. the swarm can just ask them whether they're still interested in the connection for a given peerid. this way you end up with only one control flow for this. |
@whyrusleeping do you still have the notes from last lab week (I wrote them in paper and I believe we also opened a issue, trying to find it) |
I think we want a healthy and efficient network. So we need connections with low latency but also some with good connections to the whole network, so we can find the data we want. We probably should at least know every peer in the local network, so we can ask them if they have the data we want before asking peers on the internet. |
I think there was a lot of discussion of connection pruning recently, I can't find anything on GitHub that reflects some of the talking points though. |
Limiting autonat service responses/startup
subscribe connmgr to net notifications
nil out references to finished dials
use the ipnet.PSK instead of the ipnet.Protector for private networks
we need to decide how to choose when to disconnect from a given peer. Right now, we never disconnect after making a connection unless that connection gets dropped.
The text was updated successfully, but these errors were encountered: