WICG / budget-api

Proposal for a Budget API
https://wicg.github.io/budget-api/
Other
26 stars 11 forks source link

Budget... maybe qualify the name #5

Closed marcoscaceres closed 7 years ago

marcoscaceres commented 7 years ago

Sorry, this is bikeshedding, but we talk a lot about "budget" on the web... like: https://timkadlec.com/2014/11/performance-budget-metrics/

And with the Web Payments API starting to ship, there might be some confusion about what this API is about. I've had my head in Web Payments for the last week, so I instantly thought "wait? what? budget for payments?" 🤑

It might be good to qualify the name somehow.

jenharkness commented 7 years ago

When I originally started on an implementation of this, I used BackgroundBudget, but after working with that for a while, it became quite unwieldy, especially since I'd like the API to be flexible for potential non-background uses. I considered a lot of other options, but ended up deciding on budget.

The nice thing about budget is that it’s a general way to describe any accumulating resource which can be used. Although it can be associated with money, it is also commonly associated with resources like processor time or bandwidth.

I also liked it because Mozilla was already using “budget” to describe their internal push limiting mechanism.

marcoscaceres commented 7 years ago

Thanks for the clarifications. Closing :)

marcoscaceres commented 7 years ago

@jenharkness, I'm trying to find who worked on this on the Mozilla side previously. Any ideas?