Commit Graph

8 Commits

Author SHA1 Message Date
babic_a 3e097a5cd8 Adjust stream sender to use reference 2020-09-21 09:56:06 +02:00
babic_a ac58965758 Adapt Live sender to RamBuffer 2020-09-04 17:00:01 +02:00
babic_a 465369a322 Add pulse_id stream to streamer
The pulse_id stream can be used to synchronize components.
For example, the writer can listen for the current pulse_id
and write with 1 second delay to a file. This will help us
eliminate the need to wait for the run to complete to start
the data write request.
2020-07-16 11:27:09 +02:00
babic_a 773320799a Switch analysis socket to NOBLOCK
Since we cannot control the rate of the producer (its
whatever the detector is currently doing) we cannot afford
to block if no clients are present.
2020-07-15 10:34:54 +02:00
babic_a 6129b711ba Change processing socket from PUB to PUSH
Since processing of live data can be done at 100Hz it would
be more difficult to stream the full rate with a PUB/SUB mode.

To support distributed live analysis we move to PUSH/PULL
model, since we can support only one live processing at a time
anyway (network constraints when working with large detectors).
2020-07-15 10:29:21 +02:00
babic_a 4c6f75eb75 Move hpp to correct folder 2020-06-09 14:18:43 +02:00
babic_a c541da141b Fix changes once the class was extracted 2020-06-09 14:10:19 +02:00
babic_a cdef401862 Extract sender from main 2020-06-09 14:03:42 +02:00