-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
Profile all event handlers #4252
Comments
Also, fix them. |
Looks like our changes to the DHT code recently made the DHT's
|
The work in libp2p is done here. All that's left is to merge the updated deps into go-ipfs (the updates have also been propagated, I'm just waiting on #4372 before making the PR). |
BitswapIt does hold a large lock. I'll have to dig more to see if it's a problem (not looking good but is probably not too hard to fix. Edit: not an issue (doesn't show up on profiles) |
At this point, I've gone through quite a few stack traces and used the block and mutex pprof profilers. I'm now reasonably certain that there aren't any more issues with (connection) notifications. However, we do have two things that show up big time:
|
We handle events synchronously so event handlers need to be very fast. Currently, they're not 😢.
The text was updated successfully, but these errors were encountered: