Den fre 4 nov. 2022 kl 10:48 skrev Szabo, Istvan (Agoda)
<istvan.sz...@agoda.com>:
> Hi,
> One of my user told me that they can upload bigger files to the bucket than 
> the limit. My question is to the developers mainly what’s the reason to set 
> the rgw_bucket_quota_ttl=600 and rgw_user_quota_bucket_sync_interval=180? I 
> don’t want to set to 0 before I know the reason 😃
> With this settings if the user has pretty high bandwidth they can upload 
> terabytes of files before the 10minutes limit reached.

The reason is probably that reading/updating it and syncing stats
between rgws is a costly operation in time, so if you do it for every
4k object someone uploads, the overhead will be very noticeable. For
us mortals whose systems do not allow for many TBs in <600s, the
default timeout is mostly fine.
Even if you check when the file is about to be created, it could grow
quite large while uploading, so you would still pass the limit after
it has been finalized and closed. It's never 100% foolproof but more
like a 'limit within reason'.


-- 
May the most significant bit of your life be positive.
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to