forked from voldemort/voldemort
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementations of various async vs sync queueing policies for socket…
… checkout. Two commented out policies are included in this commit. src/java/voldemort/store/socket/clientrequest/ClientRequestExecutorPool.java - a few TODOs to be investigated before completing work on async checkouts /src/java/voldemort/utils/pool/AsyncResourceRequest.java - a couple helper methods for implementing/debugging queueing policies src/java/voldemort/utils/pool/KeyedResourcePool.java - refactor to clean up checkin method - TODOs for further code cleanup - cleaned up all methods for tracking stats, added stats tracking of length of synchronous queue - various aspects of (commented out) socket checkout queuing policies src/java/voldemort/utils/pool/QueuedKeyedResourcePool.java - fixes to async socket checkout - various aspects of (commented out) socket checkout queuing policies - TODOs for further code cleanup - cleaned up stats tracking for async queue length *Test.java - minor tweaks/cleanup
- Loading branch information
Showing
7 changed files
with
290 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.