Improve performance of the IncrementalWebSession processor
MiniPlayer opened this issue · comments
To be sure to be sync in events processing, the processor do some thread sleeping and refresh of ES indices.
It would be good to add two degraded mode in term of fiability to improve performance.
Default mode (Fast mode) => really fast (no refresh and no sleep)
Moderate mode => no sleep but refresh are done with a configurable time to wait for
Slow mode => sleep and refresh (with a configurable time to wait for refresh)
property name : processing.mode , values : [FAST, MODERATE, SLOW]
by default the value is fast
The configurable time to wait for refresh is configurable by
property name : es.refresh.wait.time.ms which should be a long (milliseconds), default to 100000
@jerome73 , @mathieu-rossignol Done (for information)