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
| Category | Commands | Description |
|---|---|---|
| Strings | 22 | GET, SET, INCR, APPEND, and more |
| Hashes | 15 | HSET, HGET, HGETALL, HSCAN, and more |
| Lists | 19 | LPUSH, RPOP, LRANGE, blocking ops, and more |
| Sets | 17 | SADD, SMEMBERS, SUNION, SINTER, and more |
| Sorted Sets | 26 | ZADD, ZRANGE, ZUNIONSTORE, and more |
| Streams | 14 | XADD, XREAD, XREADGROUP, consumer groups, and more |
| Bitmap | 7 | SETBIT, GETBIT, BITCOUNT, BITFIELD, and more |
| HyperLogLog | 4 | PFADD, PFCOUNT, PFMERGE, PFDEBUG |
| Geospatial | 8 | GEOADD, GEOSEARCH, GEODIST, and more |
| Transactions | 5 | MULTI, EXEC, DISCARD, WATCH, UNWATCH |
| Scripting | 10+ | EVAL, EVALSHA, FUNCTION, FCALL, and more |
| Pub/Sub | 9+ | SUBSCRIBE, PUBLISH, sharded pub/sub, and more |
| ACL | 11 | AUTH, ACL LIST, ACL SETUSER, and more |
| Cluster | 15+ | CLUSTER INFO, CLUSTER NODES, slot management, and more |
| Sentinel | 13+ | SENTINEL MASTERS, monitoring, failover, and more |
| Server | 70+ | 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.