generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 73
feat: implement autoscaling and the leastConnections strategy #451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
77d167d
Add leastConnections strategy and autoscaling functionality
aaron-congo e7370bb
Add MakeSureFirstInstanceWriter
aaron-congo ee0d392
use CacheMap to store connection pools;
sergiyv-improving 64c1f8c
wip - resolve CacheMap enhancements
aaron-congo 49c084b
Autoscaling tests passing
aaron-congo 6f25a83
Remove notifyNodeListChanged from rw plugin
aaron-congo b9f3151
Cleanup
aaron-congo 9c900a7
More cleanup
aaron-congo 414a55a
Add HikariConnectionProvider unit tests
aaron-congo d73bddd
More tests
aaron-congo 85d299b
Dispose of items when they are removed from the CacheMap
aaron-congo 55c4c33
Fix unit tests for HikariPooledConnectionProvider
aaron-congo 1fefe13
Refactor duplicate code in CacheMap
aaron-congo a0940ce
SlidingExpirationMap wip
aaron-congo a5e08f3
Merge remote-tracking branch 'upstream/main' into leastConnections
aaron-congo e569c8e
Change HikariPooledConnectionProvider constructors, add SlidingExpira…
aaron-congo 1fe5669
Fix checkstyle
aaron-congo 8d92175
cleanup
aaron-congo 802e5e0
Remove keepalive from ReadWriteSplittingTests
aaron-congo 290c3be
Increase create/delete instance timeout for autoscaling tests
aaron-congo d55a1ff
PR Suggestions
aaron-congo ebe85e1
PR suggestions
aaron-congo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we provide a simple example here for the hikaripoolmapping function, and say, for the full example please see ReadWriteSplittingPostgresExample.java