Re:Ways to shoot yourself in the foot with Redis
by codegladiator on Saturday July 29, 2023 @04:10PM
(#36924052)
The lock is explicitly release by the redis server itself after the ttl. It's not that the Client will assume that the lock is released.
[ Parent
| on HN ]
Re:Ways to shoot yourself in the foot with Redis
by xiwenc on Saturday July 29, 2023 @09:55PM
(#36926955)
In the past i used SQS where the client can extend the TTL of a given message (or lock in this case?) while it is still alive. Isn’t that possible with Redis?
Re:Ways to shoot yourself in the foot with Redis
by TheCycoONE on Saturday July 29, 2023 @11:59PM
(#36927678)
It is, with quite a bit of flexibility https://redis.io/commands/expire/