redis 命令exists vs get

📝

内容提要

redis 命令exists vs get,在判断key是否存在的场景下: exists速度更快,可以忽略类型。 get只适用于string类型,当值越大时,速度越慢。

🏷️

标签

➡️

继续阅读