Skip to content
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

Many connections closed simultaneously #25

Open
DavidFeliot opened this issue Apr 3, 2015 · 0 comments
Open

Many connections closed simultaneously #25

DavidFeliot opened this issue Apr 3, 2015 · 0 comments

Comments

@DavidFeliot
Copy link

When using hawtdispatch-transport, the call to 'Selector.selectNow' done in the method 'cancel' of NioManager is very costly if many connections are closed simultaneously while some other connections are still open (and working). The closing connections consume all the CPU time (because of 'selectNow') preventing the open connections from working. Would it be possible to add an option that would disable the call to 'selectNow' done in 'cancel'? In that case 'selectNow' would be called later in 'NioManager.select'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant