Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We add a new component, RLM WriteQuotaManager to manage quotas for remote writes. It is similar to other existing QuotaManagers (for eg. ClientQuotaManager). It can be configured with the desired write quota. It keeps track of the current usage and can be used to check if the quota is exhausted.  We will use it to record the segment size when a segment is uploaded to the remote, so it can track the rate of bytes upload. We can use it to check if the current upload rate is within the quota before uploading new segments to the remote.

...

61 buckets of size 1 second (default). There are 60 whole buckets and one additional bucket is to track usage for the current window. 


QuotaManager supports the following two operations:

...