I have multiple client sending data on tcp port(unique per client). When my applications starts it creates listener for handling client. This listener is run using multiprocessing. Each listener reads the sensor data, process it, and take some decisions. This part is working perfectly.
Now, I have to share all data to every client to improve decisions making.
For this I create dict() from manager() and pass it as argument to the client process. After some predefined time I will clear this dict().
Will above solution have impact on performance like speed, memory, cpu in long run(24x7).
Is there any better solution?