This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VAL-467: Mutli-Region Support (1 of 2) (#48)
* Added Behavior RESET_REMAINING to reset any hits recorded in the cache for the specified rate limit * Behavior is now a flag, this should be a backward compatible change for anyone using GLOBAL or NO_BATCHING but will break anyone using DURATION_IS_GREGORIAN. Use `HasBehavior()` function to check for behavior flags. * WIP: Add support for multi dc hash rings rebased and got tests working * updated docker/compose config, added memberlist for clustering, partial multi-region syncing * added memberlist metadata, got multi-region sending hits, cleaned up code * RegionPicker is now configurable * pulled derrick's commit, some refactoring * more refactoring, improved documentation, split out region manager * refactored memberlist, added health check errors, modified config to use etcd as default fixed tests after rebase * updated health check to cache all errors in the past 5 minutes, added functional test * rebased * revert cosistant -> consistent * health check now includes region peers, some refactoring * GubernatorListenAddress -> GubernatorPort for memberlist config * exposed logging in memberlist * added configuration of node name in memberlist * removed debug log line Co-authored-by: Derrick J. Wippler <[email protected]>
- Loading branch information
Showing
31 changed files
with
1,610 additions
and
477 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,4 @@ ENTRYPOINT ["/gubernator"] | |
|
||
EXPOSE 80 | ||
EXPOSE 81 | ||
EXPOSE 7946 |
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
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.