Please help
Application works fine for single request but it returns "dial unix /var/run/redis/redis.sock: connect: resource temporarily unavailable" when try to use wrk under load -t50 -c50 -d10s
trying to get the key using
value, exp = redisClient.Get(key).Result()
below is use to create a pool
redisClient = redis.NewClient(&redis.Options{
Dialer: func() (net.Conn, error) {
return net.DialTimeout("unix", "/var/run/redis/redis.sock", 1*time.Second)
},
//Addr: "10.10.1.150",
Password: "",
DB: 0,
PoolSize: 99000,
})
Thanks in advance
Rgds,
Abhi