In relation to the EventQueue in the RFA API, is there any general guidance for setting values for:
- Maximum Depth
- High Threshold
- Low Threshold
I appreciate this will largely depend on our environments, but was wondering if there is any general guidance or what experiences anyone else had?
There is no rule of thumb for values of MaxDepth, HighThreshold , and LowThreshold in RFA because they depends on each machine specification.
Even though in the same machine running, these values may not always valid each time/situation when you run the application caused by many factors such as how many concurrent processes that run in the same time, memory allocation (e.g. heap size in Java), how busy the CPUs are, I/O, incoming item messages size, etc.
You need to observe your application's behavior, use trial and error method through a simulation in the actual environment should give you more accurate values for these settings.
Hope this helps.