package configuration
- Alphabetic
- Public
- Protected
Type Members
- final class LedgerConfigurationInitializer extends NamedLogging
- trait LedgerConfigurationSubscription extends AnyRef
Makes the current ledger configuration available in a centralized place.
- final case class RateLimitingConfig(maxApiServicesQueueSize: Int = 10000, maxApiServicesIndexDbQueueSize: Int = 1000, maxUsedHeapSpacePercentage: Int = 100, minFreeHeapSpaceBytes: Long = 0, maxStreams: Int = 1000) extends Product with Serializable
The memory based rate limiting parameters (maxUsedHeapSpacePercentage and minFreeHeapSpaceBytes are highly sensitive to the operating environment and should only be configured where memory profiling has highlighted spikes in memory usage that need to be flattened.
The memory based rate limiting parameters (maxUsedHeapSpacePercentage and minFreeHeapSpaceBytes are highly sensitive to the operating environment and should only be configured where memory profiling has highlighted spikes in memory usage that need to be flattened.
- maxApiServicesQueueSize
The maximum number of non-running items in the ApiServices execution service
- maxApiServicesIndexDbQueueSize
The maximum number of non-running items in the IndexDb execution service
- maxUsedHeapSpacePercentage
If, following a garbage collection of the 'tenured' memory pool, the percentage of used pool memory is above this percentage the system will be rate limited until additional space is freed up.
- minFreeHeapSpaceBytes
If, following a garbage collection of the 'tenured' memory pool, the amount of free space is below this value the system will be rate limited until additional space is freed up.
Value Members
- case object RateLimitingConfig extends Product with Serializable