forked from eBay/myriad
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Perform fine grained scaling only on NMs registered with zero capacity
Summary of major changes made: - Introduced a "zero" profile in .yml file. A NM launched with this profile advertizes (0G,0CPU) to RM. - When an offer is received: - Myriad uses the offer to launch a new NM, if there are pending "flexup" requests and an NM is not already running on the slave the resources are offered on. - (if above is not true,) if the slave node is running a NM originally launched with (0G,0CPU) capacity, then Myriad uses the offer to dynamically increase the capacity of the NM. - (if above is not true,) Myriad rejects the offer. - Moved the FGS classes to a separate package (.fgs). - Built a "filter" mechanism using which FGS can receive interceptor callbacks only for NMs launched with (0G,0CPU) capacity.
- Loading branch information
Showing
16 changed files
with
192 additions
and
50 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
2 changes: 1 addition & 1 deletion
2
.../ebay/myriad/scheduler/ConsumedOffer.java → ...y/myriad/scheduler/fgs/ConsumedOffer.java
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
2 changes: 1 addition & 1 deletion
2
.../java/com/ebay/myriad/scheduler/Node.java → ...a/com/ebay/myriad/scheduler/fgs/Node.java
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
2 changes: 1 addition & 1 deletion
2
.../com/ebay/myriad/scheduler/NodeStore.java → .../ebay/myriad/scheduler/fgs/NodeStore.java
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
2 changes: 1 addition & 1 deletion
2
.../com/ebay/myriad/scheduler/OfferFeed.java → .../ebay/myriad/scheduler/fgs/OfferFeed.java
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
2 changes: 1 addition & 1 deletion
2
...com/ebay/myriad/scheduler/OfferUtils.java → ...ebay/myriad/scheduler/fgs/OfferUtils.java
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.