Page MenuHomePhabricator

Implement cost estimation for resources in Drydock
AbandonedPublic

Authored by hach-que on Aug 31 2014, 12:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 27, 7:52 AM
Unknown Object (File)
Wed, Nov 27, 5:34 AM
Unknown Object (File)
Sat, Nov 23, 7:03 AM
Unknown Object (File)
Sat, Nov 23, 7:03 AM
Unknown Object (File)
Sat, Nov 23, 7:01 AM
Unknown Object (File)
Sat, Nov 23, 6:47 AM
Unknown Object (File)
Oct 24 2024, 4:38 AM
Unknown Object (File)
Oct 21 2024, 3:46 PM

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T2015: Implement Drydock
Summary

Ref T2015. This implements a cost estimation mechanism for allocation of resources in Drydock. This is intended to help the allocator determine the cheapest resource it can allocate of a given type, based on the lifetime estimation provided on the lease.

For the purposes of testing, this implements test blueprints for two providers other than Amazon EC2. Although the number of permutations is currently limited (because host resources are only filtered based on platform), this will have a more significant impact when Harbormaster builds can request specific attributes on host resources (such as the host having a particular program or being in a particular region).

Test Plan

Tested using bin/drydock cost and by allocating resources.

Diff Detail

Repository
rP Phabricator
Branch
price-aware
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2405
Build 2409: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Implement cost estimation for resources in Drydock.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.

This hasn't ever been used in a production environment, and is probably way too dependent on future things.

abandonmemaybe