CCI-MOC / flocx-market

2 stars 9 forks source link

Unclear what the purpose of the duration field for a Bid is #119

Open tzumainn opened 5 years ago

tzumainn commented 5 years ago

A Bid has start_time, end_time, and duration fields. Is the duration field necessary?

larsks commented 5 years ago

Sahil's idea was that maybe you need 8 hours of compute some time in the next week. So the duration is how much time you need, and the start_time and end_time establish the window in which we attempt to find the available time.

tzumainn commented 5 years ago

Ah, okay - that's not how it's working right now in the matcher; we may need some adjustment there