NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming language runtimes.
Hello, I'm using Node.js 8/12 and after running with unit for several hours, I encountered a strange issue.
When not using unit, executing Redis commands consecutively with await 400,000 times only consumes 0.3 CPU cores and completes in 3 minutes.
However, when using unit, the same operation uses 1 full CPU core (100%) and takes more than 30 minutes to complete.
I've repeatedly confirmed that this issue is related to unit, but I don't understand why unit is affecting Redis operation performance.
During the testing period, only one Node process was running, and there was no significant difference in memory usage.
Could you suggest some directions for troubleshooting this?
Hello, I'm using Node.js 8/12 and after running with unit for several hours, I encountered a strange issue. When not using unit, executing Redis commands consecutively with await 400,000 times only consumes 0.3 CPU cores and completes in 3 minutes. However, when using unit, the same operation uses 1 full CPU core (100%) and takes more than 30 minutes to complete.
I've repeatedly confirmed that this issue is related to unit, but I don't understand why unit is affecting Redis operation performance. During the testing period, only one Node process was running, and there was no significant difference in memory usage. Could you suggest some directions for troubleshooting this?
Version: 1.32.1 Os: docker debian:bullseye-20240513 redis module: 2.8.0