Re: bucket/user stats for billing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 6, 2013 at 1:46 AM, Gandalf Corvotempesta
<gandalf.corvotempesta@xxxxxxxxx> wrote:
> We would like to get buckets or users stats for billing purposes.
> We need to calculate used disk space for each user.
>
> Actually, i'm doing this with radosgw-admin but getting a list of
> buckets and then
>
> radosgw-admin bucket stats --bucket=bucketname
>
> to get owner and disk usage.
>
> Getting stats is very, very, very slow (5 seconds for each bucket) and
> we need to do this very frequently (at least 1 time every 5 minutes.
> Not doing this will allow a user to upload a large file, share it for
> 4 minutes and then delete it with no billing)
> Do you have any faster method?

Not really. But try this:

radosgw-admin --rgw-cache-enabled=false bucket stats --bucket=bucketname


Yehuda
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux