Open JamesBremner opened 1 month ago
I have added the table of node utilization to my code
Commit https://github.com/JamesBremner/so79049807/commit/7f7b5334f48debde6d52c1b6e148fc93b7f1067d
Total CPU and RAM % utilization for each node:
Node Total_CPU_Used Total_RAM_Used Node_CPU Node_RAM CPU_Utilization RAM_Utilization
node_1 28 22 256 512 10 4
node_2 128 138 128 512 100 26
node_3 32 64 32 64 100 100
node_4 14 64 32 64 43 100
Notice that this was done without adding a structure or duplicating data.
Why is this structure needed? It is mostly a repetition of the data already stored in
cThing
.It is a big source of bugs storing the same data in two different places. When synchronization fails the resulting bugs are really hard to find.
I would suggest adding the utilization attributes to cThing.