Before discussing which one is better, let's take a look at the difference between these teams. Both DELand UNLINKrelease a key part in the lock mode. And the difference is how they release value.
DELalways releases part of the value in lock mode. However, if the value is too large, i.e. too many distributions for big LISTor HASH, it blocks Redis for a long time. To solve the problem, Redis implements the command UNLINK, i.e. Non-blocking deletion.
UNLINK /. , .. LIST HASH 64, . , UNLINK DEL, , , DEL. , , Redis , , . , , .
, , DEL , UNLINK. , .. LIST , UNLINK , DEL. DEL UNLINK. , , ( ), DEL.