While loop uses lots of CPU cycle to do nothing
The while loop at https://gitlab.cern.ch/scouting-demonstrator/scone/-/blob/main/l1scout_monitoring_and_control.py#L136 is running on empty most of the time using up an entire core looking at empty queues. This use of mp.Queue is actually not the intended one since the queue is synchronized (here the synchronization is not used). Ideally, one would use the blocking get method of each queue in two separate threads or processes to consume the requests when they come and block otherwise, thus releasing the corresponding CPU cycles to do other stuff