Thanks for all the replies, I really appreciate it.
Colin, when I turned off my browser and looked at how it responded to "top", I noticed there is very little difference in red-node usage. It only dropped about 7%, from 60% to 53%.
Then regarding the command "sudo iotop", this command is not detected on my pi
Regarding the type of node I use for DS18B20, the one I use is node-red-contrib-sensor-ds18b20 0.2.0 (node-red-contrib-sensor-ds18b20 (node) - Node-RED)
I have also tried to disable some nodes and continue to try per node type to find out where the problem is. But when I did that, I didn't find where the problem was, because it still lags. I just assumed that because there were a lot of processes and they were done in 3-second intervals, the system would feel heavy. I tried changing it to a 1-minute interval, and the result was quite good because I didn't experience lag like before. If it happens, it's only briefly and not continuously like when I set it in 3 second intervals. Maybe this is one of the solutions, or is there something else I can do to get better results?
Steve, for the size of my CSV files for now that have bagged for the largest file has 13212 data, the size reaches 632.8 kb. Actually, I avoided separate CSV files for datalogging, I actually prefer to use only 1 CSV file but already covers all my measuring points, but the problem is that I don't know how to modify the nodes and code so that it can be realized, so in the end I made separate files for each measuring point.
Regarding the rotation question, I honestly don't understand. What does rotation mean? I'm sorry, but maybe you could explain what it means?
Then about disabling all writing to CSV files, I've done it, but the result still feels heavy (in 3-second time intervals), as well as staggering like the one you described, it still lags. However, I tried changing all the time intervals to 1 minute and got better results than before. There is no continuous lag, with this 1-minute time interval, if there is a lag, it is only at times when the sensors actually send their readings simultaneously, but after that the system will return to normal and not lag continuously.
Regarding cascade, sequence or group the operations, sorry but I don't understand how to do that, or can you please give me an example of doing it?
Trexnickel, I agree with your statement that when we run the node-red server on the pi and run a separate dashboard on the PC/laptop, it will reduce the load on the pi. However, the tool that I made requires the use of the server and dashboard on the same device, namely on the pi, so I can't do that...