<div dir="ltr">Hi Schwede,<div>I have already read your codes. To implement the authentication of updating metadata in the middleware is good for maintainance.</div><div>But the account usage is not accurate because of the eventual consistency. So I do the usage quota based on container.</div>



<div>I will refactor my implementation collaborate with your work and Boudjnah's work.</div><div><br></div><div style>Thanks! </div><div>. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/20 Christian Schwede <span dir="ltr"><<a href="mailto:info@cschwede.de" target="_blank">info@cschwede.de</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
you might also have a look at <a href="https://github.com/cschwede/swquota" target="_blank">https://github.com/cschwede/<u></u>swquota</a><br>
<br>
Account quota is stored in account metadata and set by a reseller account.<br>
I changed the code slightly to make it more consistent to the already merged container quota.<br>
<br>
@chmouel: I might create a pull request to swift itself - what do you think?<br>
<br>
Christian<br>
<br>
<br>
Am Mittwoch, den 20.02.2013, 11:11 +0100 schrieb Alex Yang <<a href="mailto:alex890714@gmail.com" target="_blank">alex890714@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 Storage Quotas Design [1]<div class="im"><br>
This is the design draft of Storage Quota.<br>
Implementation of this design is<br>
</div><a href="https://github.com/AlexYangYu/StackLab-swift/tree/dev-quota" target="_blank">https://github.com/AlexYangYu/<u></u>StackLab-swift/tree/dev-quota</a> [2]<br>
</blockquote>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>  杨雨<div>  Email:       <a href="mailto:alex890714@gmail.com" target="_blank">alex890714@gmail.com</a><div>GitHub:       <a href="https://github.com/AlexYangYu" target="_blank">https://github.com/AlexYangYu</a></div>

<div>    Blog:        <a href="http://alexyang.sinaapp.com" target="_blank">http://alexyang.sinaapp.com</a></div><div> Weibo:       <a href="http://www.weibo.com/alexyangyu" target="_blank">http://www.weibo.com/alexyangyu</a></div>

</div>
</div>