Versions Compared

Key

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

...

Throttling component counts input requests from specified source (external) system and for specific operation. If this count exceeds defined limit in defined time interval then OpenHub will start to reject new input requests (only requests from specified source system and for specified operation) - exception is thrown.


Throttling configuration

Throttling configuration uses the same model as rest of OpenHub framework, see External configuration model

Throttling can be disabled at all by setting ohf.disable.throttling parameter to value true.

Throttling configuration

Throttling configuration uses the same model as rest of OpenHub framework, see External configuration model to value true.

Suitable throttling implementation is set by ohf.throttling.counter.impl parameter. There are the following built-in implementations:

  • org.openhubframework.openhub.core.throttling.ThrottleCounterMemoryImpl (default) - in-memory implementation, suitable for standalone server only
  • org.openhubframework.openhub.core.throttling.ThrottleCounterHazelcastImpl - implementation with Hazelcast shared map, suitable for cluster

Count limits 

The default configuration (that is always added as default) is the following:

...