I currently have a 4-core windows server. On this server, I installed a nodejs Server (API rest).
It works perfectly without latency. However when I start a windows update for the server, nodejs becomes very slow. Even for an HTTP request returning a JSON {test}, it takes about 30s to respond.
As if the windows update process was taking up all the CPU load. (Nodejs is not multi threaded) I don't know if I should do something on the windows server or in the Node JS code.
Windows update takes about 40% and nodejs 1% of CPU. When the update is complete, everything returns to normal. What to do ? Thanks for your help.
Thomas