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)
Thu, Mar 28, 4:34 AM
Unknown Object (File)
Feb 19 2024, 2:25 AM
Unknown Object (File)
Feb 19 2024, 2:15 AM
Unknown Object (File)
Feb 10 2024, 12:40 PM
Unknown Object (File)
Feb 3 2024, 12:38 AM
Unknown Object (File)
Jan 24 2024, 9:53 PM
Unknown Object (File)
Jan 24 2024, 9:20 PM
Unknown Object (File)
Jan 24 2024, 7:04 AM

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