Who said that you should actually store anything in redis key?
Empty string ""
is a perfectly valid value for a redis key, and it’s a shortest possible one:
> SET foo ""
OK
> GET foo
""
> BITCOUNT foo
(integer) 0
Who said that you should actually store anything in redis key?
Empty string ""
is a perfectly valid value for a redis key, and it’s a shortest possible one:
> SET foo ""
OK
> GET foo
""
> BITCOUNT foo
(integer) 0