object NackAdmissionFilter
- Alphabetic
- By Inheritance
- NackAdmissionFilter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DefaultNackRateThreshold: Double
By default, the client will send all requests when the accept rate EMA is between 50% and 100%.
By default, the client will send all requests when the accept rate EMA is between 50% and 100%. If the EMA drops below 50%, the filter will drop any given request with probability proportional to the EMA.
E.g., if the EMA is 20%, the filter will drop any given request with 100 - (2 * 20) = 60% probability. If the EMA is 10%, the filter will drop any given request with 100 - (2 * 10) = 80% probability.
- val DefaultWindow: Duration
By default, the EMA window is 2 minutes: any response that the filter receives over a 2 minute rolling window affects the EMA's value.
By default, the EMA window is 2 minutes: any response that the filter receives over a 2 minute rolling window affects the EMA's value. In other words, the EMA "forgets" history older than 2 minutes.
E.g., if the server nacks every request received for one minute, then two minutes pass without the server receiving any requests, and then the server receives a small number of non-nacks ("accepts"), the EMA will end up being very close to 1.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val role: Role
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object Param