-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds an alternative implementation by which aliases can be allocated for an interface. The BulkAliasAllocator works with high parallelism. It sends out many CID frames at once, and handles if conflicts arrive for any one of these aliases being tested. Using this method we can allocate many aliases a lot faster than with AliasAllocator which can allocate aliases only sequentially, with a 200 msec delay each. === * Adds config option for how much memory should the bulk alias allocator use. * Adds interface and implementation to bulk alias allocator. * fix whitespace * Small changes to alias allocator: - adds accessor to get the node id used for allocation. - fixes todo to check whether newly generated aliases are in the existing caches. - adds ability to get the next proposed alias from the sequence. * Adds bulk allocator to the test. * Adds a test facility to invoke a flow without waiting for the result. * fixes bugs * Adds basic test for bulk allocator. * adds time expectation * Adds support for conflict handling in the bulk alias allocator. * fix whitespace * Fix comments. * Fixes comments. * fixes comments.
- Loading branch information
Showing
10 changed files
with
542 additions
and
5 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
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.