In Redis, the UNLINK
command removes the specified keys. It’s similar to the DEL
command, except that it performs the memory reclaiming in a different thread, so it is not blocking. The DEL
command, on the other hand, doesn’t do this.
More specifically, the UNLINK
command unlinks the keys from the keyspace, and then removes it later asynchronously.