tech.ydb.proto.rate_limiter.HierarchicalDrrSettingsOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protos/ydb_rate_limiter.proto
package tech.ydb.proto.rate_limiter;
public interface HierarchicalDrrSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.RateLimiter.HierarchicalDrrSettings)
com.google.protobuf.MessageOrBuilder {
/**
*
* Resource consumption speed limit.
* Value is required for root resource.
* 0 is equivalent to not set.
* Must be nonnegative.
*
*
* double max_units_per_second = 1;
* @return The maxUnitsPerSecond.
*/
double getMaxUnitsPerSecond();
/**
*
* Maximum burst size of resource consumption across the whole cluster
* divided by max_units_per_second.
* Default value is 1.
* This means that maximum burst size might be equal to max_units_per_second.
* 0 is equivalent to not set.
* Must be nonnegative.
*
*
* double max_burst_size_coefficient = 2;
* @return The maxBurstSizeCoefficient.
*/
double getMaxBurstSizeCoefficient();
/**
*
* Prefetch in local bucket up to prefetch_coefficient*max_units_per_second units (full size).
* Default value is inherited from parent or 0.2 for root.
* Disables prefetching if any negative value is set
* (It is useful to avoid bursts in case of large number of local buckets).
*
*
* double prefetch_coefficient = 3;
* @return The prefetchCoefficient.
*/
double getPrefetchCoefficient();
/**
*
* Prefetching starts if there is less than prefetch_watermark fraction of full local bucket left.
* Default value is inherited from parent or 0.75 for root.
* Must be nonnegative and less than or equal to 1.
*
*
* double prefetch_watermark = 4;
* @return The prefetchWatermark.
*/
double getPrefetchWatermark();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy