Redis – Connections Redis connection commands are basically used to manage client connections with Redis server. Example Following example explains how a client authenticates itself to Redis server and checks whether the server is running or not. redis 127.0.0.1:6379> AUTH “password” OK redis 127.0.0.1:6379> PING PONG Redis Connection Commands Following table lists some basic commands […]
Author Archives: user
Redis – Security Redis database can be secured, such that any client making a connection needs to authenticate before executing a command. To secure Redis, you need to set the password in the config file. Example Following example shows the steps to secure your Redis instance. 127.0.0.1:6379> CONFIG get requirepass 1) “requirepass” 2) “” By […]
Redis – Transactions Redis transactions allow the execution of a group of commands in a single step. Following are the two properties of Transactions. All commands in a transaction are sequentially executed as a single isolated operation. It is not possible that a request issued by another client is served in the middle of the […]