ioredis version: 4.27.6Redis version: 6.2.4Node.js version: 14.16.1OS: Alpine Linux v3.11
Setting username & password on the Redis.Cluster constructor causing major performance degradation - mostly on cpu.
CPU usage without authentication:
CPU usage with authentication:
The tcp keep alive on redis.conf is set to default (300 seconds).
When running MONITOR command on one of the Redis leader instances we saw a different between auth tests and non-auth tests. when running with authentication, it seems like for every command ioredis also send AUTH command before the original command. i think it could be related to the cpu overhead.
maybe there is there a way to make authentication just 1 time as long as the tcp connection is alive ?
ioredis version: 4.27.6
Redis version: 6.2.4
Node.js version: 14.16.1
OS: Alpine Linux v3.11
Setting
username
&password
on theRedis.Cluster
constructor causing major performance degradation - mostly on cpu.CPU usage without authentication:
CPU usage with authentication:
The tcp keep alive on redis.conf is set to default (300 seconds).
When running
MONITOR
command on one of the Redis leader instances we saw a different between auth tests and non-auth tests. when running with authentication, it seems like for every command ioredis also sendAUTH
command before the original command. i think it could be related to the cpu overhead.maybe there is there a way to make authentication just 1 time as long as the tcp connection is alive ?