[openstack-dev] [cross-project] [all] Quotas -- service vs. library

gordon chung gord at live.ca
Wed Mar 16 13:34:28 UTC 2016



On 16/03/2016 7:10 AM, Attila Fazekas wrote:
>
> NO : For any kind of extra quota service.
>
> In other places I saw other reasons for a quota service or similar,
>   the actual cost of this approach is higher than most people would think so NO.
>
>
> Maybe Library,
> But I do not want to see for example the bad pattern used in nova to spread everywhere.
>
> The quota usage handling MUST happen in the same DB transaction as the
> resource record (volume, server..) create/update/delete  .
>
> There is no need for.:
> - reservation-expirer services or periodic tasks ..
> - there is no need for quota usage correcter shell scripts or whatever
> - multiple commits
>
>
> We have a transaction capable DB, to help us,
> not using it would be lame.
>
>
> [2] http://lists.openstack.org/pipermail/openstack-dev/2015-April/061338.html

i personally like this reasoning. i also wonder how upgrades are 
affected because of this decoupling proposal -- does this mean the 
upgrades of all services would be linked (potentially)?

cheers,
-- 
gord



More information about the OpenStack-dev mailing list