GitHub user brandtg opened a pull request:
https://github.com/apache/helix/pull/4
Back-pressure handler in NettyHelixIPCService
Removes hack in which Netty Channel was periodically closed to allow Netty
objects to be GC'ed in favor of properly using channel writability changed
events.
Before calling `Channel#writeAndFlush`, we call
`BackPressureHandler#waitUntilWritable`, which will block if the channel is not
writable until `#channelWritabilityChanged` is called.
Ran `BenchmarkDriver` locally to verify that heap usage stays relatively
low and constant when NIC saturated.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brandtg/helix master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/helix/pull/4.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4
----
commit 6c0f13bb703f6949177775da84cfc15f11f84179
Author: Greg Brandt <[email protected]>
Date: 2014-09-15T22:56:07Z
Back-pressure handler in NettyHelixIPCService
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---