Commands Overview

Commands Overview

rLightning implements 400+ Redis 7.x compatible commands across all major data types and subsystems. This reference documents every supported command with syntax, descriptions, and examples.

Command Categories

CategoryCommandsDescription
Strings22GET, SET, INCR, APPEND, and more
Hashes15HSET, HGET, HGETALL, HSCAN, and more
Lists19LPUSH, RPOP, LRANGE, blocking ops, and more
Sets17SADD, SMEMBERS, SUNION, SINTER, and more
Sorted Sets26ZADD, ZRANGE, ZUNIONSTORE, and more
Streams14XADD, XREAD, XREADGROUP, consumer groups, and more
Bitmap7SETBIT, GETBIT, BITCOUNT, BITFIELD, and more
HyperLogLog4PFADD, PFCOUNT, PFMERGE, PFDEBUG
Geospatial8GEOADD, GEOSEARCH, GEODIST, and more
Transactions5MULTI, EXEC, DISCARD, WATCH, UNWATCH
Scripting10+EVAL, EVALSHA, FUNCTION, FCALL, and more
Pub/Sub9+SUBSCRIBE, PUBLISH, sharded pub/sub, and more
ACL11AUTH, ACL LIST, ACL SETUSER, and more
Cluster15+CLUSTER INFO, CLUSTER NODES, slot management, and more
Sentinel13+SENTINEL MASTERS, monitoring, failover, and more
Server70+PING, INFO, CONFIG, CLIENT, key management, and more

Protocol Support

rLightning supports both RESP2 and RESP3 protocols. Use the HELLO command to negotiate protocol version per connection.

Command Compatibility

All commands follow Redis 7.x semantics. For known behavioral differences, see the Known Incompatibilities file in the repository.