-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Core/Infra/Circuit BreakersTrack estimates of memory consumption to prevent overloadTrack estimates of memory consumption to prevent overload>bugv7.0.0-beta1
Description
When you create a byte array using BigArrays, it always increases the
REQUEST breaker. The REQUEST is described as:
/**
* The request breaker tracks memory used for particular requests. This
* includes allocations for things like the cardinality aggregation, and
* accounting for the number of buckets used in an aggregation request.
* Generally the amounts added to this breaker are released after a request
* is finished.
*/
However, there is also a IN_FLIGHT_REQUESTS breaker. This breaker is
described as:
/**
* The in-flight request breaker tracks bytes allocated for reading and
* writing requests on the network layer.
*/
When we serialize a message for writing to a channel in the http or tcp
transports, we use BigArrays which manipulates the REQUEST breaker.
However, based on the descriptions, it seems like this should be the
IN_FLIGHT_REQUESTS breaker.
Metadata
Metadata
Assignees
Labels
:Core/Infra/Circuit BreakersTrack estimates of memory consumption to prevent overloadTrack estimates of memory consumption to prevent overload>bugv7.0.0-beta1