This site will be decommissioned on December 31st 2024. After that date content will be available at techdocs.broadcom.com.

This topic lists and describes Redis commands implemented in VMware GemFire for Redis Apps.

Redis Commands

VMware GemFire for Redis Apps is compatible with the below Redis commands. Unless otherwise stated, the implementation of the below commands matches that found in Open Source Redis 6.2.7.

Compatible Commands
APPEND HMSET PSUBSCRIBE SUNIONSTORE
AUTH HRANDFIELD PTTL TTL
BLMOVE HSCAN [2] PUBLISH TYPE
BLPOP HSET PUBSUB CHANNELS UNLINK
BRPOP HSETNX PUBSUB NUMPAT UNSUBSCRIBE
BRPOPLPUSH HSTRLEN PUBSUB NUMSUB ZADD
BZPOPMAX HVALS PUNSUBSCRIBE ZCARD
BZPOPMIN INCR QUIT ZCOUNT
CLIENT GETNAME INCRBY RENAME ZDIFF [4]
CLIENT SETNAME INCRBYFLOAT RENAMENX ZDIFFSTORE [4]
CLUSTER INFO INFO [3] RPOP ZINCRBY [4]
CLUSTER KEYSLOT KEYS RPOPLPUSH ZINTER [4]
CLUSTER NODES LINDEX RPUSH ZINTERSTORE [4]
CLUSTER SLOTS LINSERT RPUSHX ZLEXCOUNT
COMMAND [1] LLEN SADD ZMSCORE
DECR LMOVE SCARD ZPOPMAX
DECRBY LOLWUT SDIFF ZPOPMIN
DEL LPOP SDIFFSTORE ZRANDMEMBER
ECHO LPOS SET ZRANGE
EXISTS LPUSH SETEX ZRANGEBYLEX
EXPIRE LPUSHX SETNX ZRANGEBYSCORE
EXPIREAT LRANGE SETRANGE ZRANGESTORE
GET LREM SINTER ZRANK
GETDEL LSET SINTERSTORE ZREM
GETEX LTRIM SISMEMBER ZREMRANGEBYLEX
GETRANGE MGET SMEMBERS ZREMRANGEBYRANK
GETSET MSET SMISMEMBER ZREMRANGEBYSCORE
HDEL MSETNX SMOVE ZREVRANGE
HEXISTS PERSIST SORT ZREVRANGEBYLEX
HGET PEXPIRE SPOP ZREVRANGEBYSCORE
HGETALL PEXPIREAT SRANDMEMBER ZREVRANK
HINCRBY PFADD SREM ZSCAN [2]
HINCRBYFLOAT PFCOUNT SSCAN [2] ZSCORE
HKEYS PFMERGE STRLEN ZUNION [4]
HLEN PING SUBSCRIBE ZUNIONSTORE [4]
HMGET PSETEX SUNION

Commands not listed above are not implemented.

NOTES:

[1] COMMAND is implemented only with no subcommands.

[2] HSCAN, SSCAN, ZSCAN. Open Source Redis supports a range of values of +/- the capacity of unsigned 64-bit integers (+/- 1.8446744e+19) for the CURSOR, but 64-bit signed integers for COUNT.

VMware GemFire for Redis matches Open Source Redis’s behavior for COUNT, but only supports values of +/- the capacity of a signed 64-bit integer (+/- 9223372036854775807) for CURSOR.

[3] INFO is implemented for the sections and fields listed below:

INFO section Field(s)
server redis_version
redis_mode (always returns “cluster”)
tcp_port
uptime_in_seconds
uptime_in_days
clients connected_clients
blocked_clients (always returns 0)
memory used_memory
used_memory_human
maxmemory_deny_commands_percent*
maxmemory_deny_commands*
maxmemory_deny_commands_human*
maxmemory_eviction_percent*
maxmemory_eviction*
maxmemory_eviction_human*
maxmemory_policy
mem_fragmentation_ratio
persistence loading (always returns 0)
rdb_changes_since_last_save (always returns 0)
rdb_last_save_time (always returns 0)
stats total_commands_processed
instantaneous_ops_per_sec
total_net_input_bytes
instantaneous_input_kbps
total_connections_received
keyspace_hits
keyspace_misses
expired_keys
expire_cycle_cpu_milliseconds
evicted_keys
rejected_connections (always returns 0)
pubsub_channels
pubsub_patterns
keyspace db0:keys
expires (always returns 0)
avg_ttl (always returns 0)
replication role (always returns “master”)
connected_slaves (always returns 0)
cluster cluster_enabled (always returns 1)

* These entries are unique to VMware GemFire for Redis Apps and do not appear in the output of the Open Source Redis INFO command.

[4] When comparing values in a sorted set VMware GemFire for Redis Applications now uses Double.compare() rather than the equality operator to test if two scores are equal resulting in consistent behavior across sorted set commands.

    This differs from the behavior in OSS Redis, where 0 and -0 are considered equal when performing ZADD but not equal when performing
    arithmetic such as in ZINCRBY or the SUM aggregation function in the ZDIFF, ZINTER and ZUNION commands.
check-circle-line exclamation-circle-line close-line
Scroll to top icon