ioredis icon indicating copy to clipboard operation
ioredis copied to clipboard

Implement avoid iddle connections for Azure Redis

Open ekelvin opened this issue 4 years ago • 1 comments

In redis Azure happens that the conneciton goes iddle after 10 minutes of inactivity and takes time to reconnect. the recommendation is to add a ping to keep the connection alive. https://gist.github.com/JonCole/925630df72be1351b21440625ff2671f#file-redis-bestpractices-node-js-md

ToDo: Create an auto ping mechanism to prevent the connection from to be iddle

ekelvin avatar Aug 25 '21 09:08 ekelvin

tcp keepalives could also fix that. But there's currently a bug with that configuration: #1339

marcbachmann avatar Mar 26 '22 14:03 marcbachmann