Redis high performance in memory kv store
- High available (cluster) and supports pub/sub
Examples $ redis-cli
Open cli
$ redis-cli 127.0.0.1:6379>
Login if redis is started with password
127.0.0.1:6379> AUTH <pwd> OK
Send msg to a channel
127.0.0.1:6379> PUBLISH ChannelName Hi (integer) 1
View server info
127.0.0.1:6379> info # Server redis_version:5.0.7 ... redis_mode:standalone ... uptime_in_seconds:27544159 uptime_in_days:318 ... # Keyspace db0:keys=2716127,expires=1097,avg_ttl=151353