← Back to team overview

openstack team mailing list archive

Re: [Swift]A design draft of Storage Quota

 

Hi Schwede,
I have already read your codes. To implement the authentication of updating
metadata in the middleware is good for maintainance.
But the account usage is not accurate because of the eventual consistency.
So I do the usage quota based on container.
I will refactor my implementation collaborate with your work and Boudjnah's
work.

Thanks!
.


2013/2/20 Christian Schwede <info@xxxxxxxxxxx>

> Hi,
> you might also have a look at https://github.com/cschwede/**swquota<https://github.com/cschwede/swquota>
>
> Account quota is stored in account metadata and set by a reseller account.
> I changed the code slightly to make it more consistent to the already
> merged container quota.
>
> @chmouel: I might create a pull request to swift itself - what do you
> think?
>
> Christian
>
>
> Am Mittwoch, den 20.02.2013, 11:11 +0100 schrieb Alex Yang <
> alex890714@xxxxxxxxx>:
>
>>  Storage Quotas Design [1]
>>
>> This is the design draft of Storage Quota.
>> Implementation of this design is
>> https://github.com/AlexYangYu/**StackLab-swift/tree/dev-quota<https://github.com/AlexYangYu/StackLab-swift/tree/dev-quota>[2]
>>
>
>


-- 
  杨雨
  Email:       alex890714@xxxxxxxxx
GitHub:       https://github.com/AlexYangYu
    Blog:        http://alexyang.sinaapp.com
 Weibo:       http://www.weibo.com/alexyangyu

References