Add a message to a stream
Add a message to a Redis Stream with an auto-generated ID
redis-cli XADD mystream '*' event login user alice
More redis commands
-
redis-cli -c CLUSTER INFO && redis-cli -c CLUSTER NODESShow cluster health and the node list with slot ranges
-
redis-benchmark -q -n 100000 -c 50 -P 10Send 100k requests from 50 clients with pipeline depth 10 (short output)
-
redis-cli --bigkeysSample the keyspace to find the largest key of each type, gives estimates and uses SCAN, so it does not block
-
redis-cli --memkeysSample keys and rank them by real memory usage, not element count, to find what eats your RAM
-
redis-cli MEMORY USAGE <name> SAMPLES 0Bytes used by one key, including overhead; SAMPLES 0 gives an exact number for collections