Starting from yesterday early morning (2020-01-15 05:28:17 CET) we are experiencing throughput issues between CIT and Cascina. As a result, the low-latency data are intermittently arriving with appreciable latencies.
In order to make also cWB more resilient to this problems the same solution adopted for MBTA (merging of the Cm/CIT frames with Kafka/LLO+LHO ones) has been introduced. In the processes CwbH1Brdcst and CwbL1Brdcst forwarding data to cWB machine (olserver145) the line:
FDIN_DIR /dev/shm/LowLatencyAnalysis/H1CasIn/ -1
has been replaced by:
FDIN_FRAME_MERGER 5 " \
/dev/shm/LowLatencyAnalysis/H1CasInKafka/ \
/dev/shm/LowLatencyAnalysis/H1CasIn/ "
FDIN_DUPLICATED_CHANNELS_REMOVE -1
which merge frames from both inputs, waiting no more than 5 seconds, and then delete the duplicated channels.
The processes have been stopped/restarted and their logs seems consistent with what shown by MBTA data mergers.
Unfortunately sometime we are experiencing high latency (> 5sec) also on LLO Kafka link so situation is still not ideal but this change provide us the best possible configuration for cWB on those conditions.