KEYS
Return every key matching the glob pattern (cross-shard gather).
KEYS pattern
Complexity
O(N) keys in the whole keyspace — every shard walks its entire map, plus an O(P*K) glob match per key
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Compatible
Behaves as Redis does.