Best method for transferring real-time data
I need to transfer the CPU usage from one machine to another in real-time to plot it in a chart and store it in a database. Initially, I was thinking of building a Python REST API to do it. However, it seems like a waste of resources (by making a lot of requests). Also, I don’t think it is a good idea to have too many logs in a database. Is this a good approach? What else could I do?