-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.4 release with threadly 5.8 upgrade
As part of this upgrade we are switching to the new `CentralThreadlyPool` rather than having our own pool for monitoring the cluster. This will hopefully reduce thread churn for applications using both. The only down side to this is that we lost our priority semantics. Before checking a potentially unhealthy server was done as a low priority task (as well as adding in read-slaves on startup). Adding in read slaves is not so important, but the unhealthy server is a more interesting case. I went back and improved the code where we are checking potentially unhealthy servers, solving the minor race condition that was there, so if multiple tasks get submitted the impact is lower. This will alleviate the advantage we had by using low priority tasks there.
- Loading branch information
Showing
4 changed files
with
21 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
group = org.threadly | ||
version = 0.3 | ||
version = 0.4 | ||
org.gradle.daemon = false |
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