lua-resty-redis icon indicating copy to clipboard operation
lua-resty-redis copied to clipboard

Add keepalive for redis client to make the connections reliable

Open NomadXD opened this issue 2 years ago • 0 comments
trafficstars

In a case of a sudden connection loss Redis clients are not able detect network problems, and will be listening for Pub/Sub messages on a broken TCP connection for hours, making Pub/Sub unusable.

This is a common issue in redis clients and some redis clients like lettuce are already fixed . https://github.com/lettuce-io/lettuce-core/issues/1428

Refer to this issue for more info: https://github.com/redis/redis/issues/7855

NomadXD avatar Feb 07 '23 08:02 NomadXD