horizonzy opened a new pull request #226:
URL: https://github.com/apache/httpcomponents-core/pull/226
Recently, I found my web programer cpu spike. finnly I found it should be
java nio bug. refer eclipse/jetty.project#2205. I notice in my project, the
logic in `org.apache.http.impl.nio.reactor.AbstractIOReactor#execute`, exist `
readyCount = this.selector.select(selectTimeout);`. This
is the reason of cpu spike. So I want add a way to workaround it.
I am not good at nio code, this is my clumsy code, I hope it will solve the
cpu spike problem. If it can't work normally, can community create a pr to fix
it? Thanks very much.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]