EXISTS
Count how many of the given keys exist.
EXISTS key [key ...]
Complexity
O(N) keys, one O(1) probe each
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Differs
the multi-key form is gathered per shard, so the count is not a point-in-time snapshot across shards
See also
DELEXPIREEXPIREATPERSISTPEXPIREPEXPIREATPTTLRENAMERENAMENXTTLTYPEUNLINK