-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
need to be smarter about dialing (again) #1689
Comments
All of those +1. I think the best solution is UDP. TODO:
|
Bump to stop dialing outselvs. |
Another big thing you can do (if you are not already) is batching storage of blocks. I designed a "batch store" algorithm a while back you could use here. |
@BrendanBenshoof this is unrelated to this problem. and should be addressed in a completely different layer |
we have since implemented a much smarter dial limiter and scheduler, this isnt as much of an issue anymore |
We now have well over 200 nodes in the network. When adding large files (or lots of files) we frequently try to dial a lot of them, our dial limit is 10 addresses per peer, concurrently. Doing the math, thats 2000 sockets in the 'best' case, but since we have our own dial implementation, we have extra epoll fds sitting around. So its quite easy to hit that tiny little 1024 fd limit.
We should do a few things:
Dialing:
The text was updated successfully, but these errors were encountered: