-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminate semaphore contention (#435)
* Implement semaphore and pool Signed-off-by: Anton Dort-Golts <dortgolts@gmail.com> * Use semaphors in net Signed-off-by: Anton Dort-Golts <dortgolts@gmail.com> * Control event bus capacity with var Signed-off-by: Anton Dort-Golts <dortgolts@gmail.com> * Make app-connector operations thread-safe Signed-off-by: Anton Dort-Golts <dortgolts@gmail.com> * WIP: implement putting record into the log with decoupled data loading Signed-off-by: Anton Dort-Golts <dortgolts@gmail.com> * Fix: limit record chain length Signed-off-by: Anton Dort-Golts <dortgolts@gmail.com> * Generic semaphor IDs in pool Signed-off-by: Anton Dort-Golts <dortgolts@gmail.com> * Protect getRecords call with per-thread-per-log semaphore Signed-off-by: Anton Dort-Golts <dortgolts@gmail.com> * Remove no longer required semaphores from log/thread operations Signed-off-by: Anton Dort-Golts <dortgolts@gmail.com> * Lock pulls on a thread-level Signed-off-by: Anton Dort-Golts <dortgolts@gmail.com> * Move error wrapper to package level Signed-off-by: Anton Dort-Golts <dortgolts@gmail.com>
- Loading branch information
Showing
4 changed files
with
430 additions
and
236 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
Oops, something went wrong.